|
@@ -74,7 +74,7 @@ func (store *redisStore) SetMultiple(id Id, m map[string]interface{}) {
|
|
|
userdata[k] = v
|
|
|
}
|
|
|
timeout := int(store.maxAge.Seconds())
|
|
|
- if RedisNotLoginKey != "" && m[RedisNotLoginKey] == nil {
|
|
|
+ if RedisNotLoginKey != "" && userdata[RedisNotLoginKey] == nil {
|
|
|
timeout = RedisNotLoginExpire
|
|
|
}
|
|
|
putdata, _ := json.Marshal(userdata)
|