|
@@ -411,11 +411,11 @@ func (f *Front) Followinfo() error {
|
|
|
userData["Rparaminfotype"] = f.GetSession("paraminfotype")
|
|
|
userData["Rprojectname"] = f.GetSession("projectname")
|
|
|
if oldData != nil {
|
|
|
- redis.Put("sso", "p_userdata_"+se.DecodeString(pid), oldData, 780)
|
|
|
- redis.Put("sso", "p_userdata_"+se.DecodeString(kid), oldData, 780)
|
|
|
+ redis.Put("sso", "p_userdata_"+se.DecodeString(pid), oldData, 13*60)
|
|
|
+ redis.Put("sso", "p_userdata_"+se.DecodeString(kid), oldData, 13*60)
|
|
|
} else {
|
|
|
- redis.Put("sso", "p_userdata_"+se.DecodeString(pid), userData, 780)
|
|
|
- redis.Put("sso", "p_userdata_"+se.DecodeString(kid), userData, 780)
|
|
|
+ redis.Put("sso", "p_userdata_"+se.DecodeString(pid), userData, 13*60)
|
|
|
+ redis.Put("sso", "p_userdata_"+se.DecodeString(kid), userData, 13*60)
|
|
|
}
|
|
|
f.ServeJson(map[string]string{
|
|
|
"result": "ok",
|