@@ -32,7 +32,7 @@ func (store *redisStore) SetMaxAge(maxAge time.Duration) {
//取数据,使用redis的超时,来控制session超时
func (store *redisStore) Get(id Id, key string) interface{} {
- return store.GetMultiple(id)
+ return store.GetMultiple(id)[key]
}
//同时获取多个值