|
@@ -4,11 +4,9 @@ package httpsession
|
|
|
|
|
|
import (
|
|
|
"encoding/json"
|
|
|
- "strconv"
|
|
|
"sync"
|
|
|
"time"
|
|
|
|
|
|
- . "app.yhyue.com/moapp/jybase/common"
|
|
|
"app.yhyue.com/moapp/jybase/redis"
|
|
|
)
|
|
|
|
|
@@ -54,9 +52,6 @@ func (store *redisStore) GetMultiple(id Id) map[string]interface{} {
|
|
|
redis.SetExpire("session", string(id), timeout)
|
|
|
store.last = time.Now()
|
|
|
lock(id).Unlock()
|
|
|
- if m["userId"] != nil && Int64All(m["positionType"]) == 1 {
|
|
|
- m["userId"] = strconv.FormatInt(Int64All(m["positionId"]), 10)
|
|
|
- }
|
|
|
return m
|
|
|
}
|
|
|
|