update
This commit is contained in:
parent
eda8d58118
commit
5da57b76ec
@ -80,8 +80,6 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (cod
|
|||||||
}
|
}
|
||||||
|
|
||||||
//缓存user session
|
//缓存user session
|
||||||
|
|
||||||
// this.module.modelSession.Get(user.Uid, data interface{})
|
|
||||||
err = this.module.modelSession.AddList("online", user.Uid, map[string]interface{}{
|
err = this.module.modelSession.AddList("online", user.Uid, map[string]interface{}{
|
||||||
"uid": user.Uid,
|
"uid": user.Uid,
|
||||||
"sessionId": session.GetSessionId(),
|
"sessionId": session.GetSessionId(),
|
||||||
|
Loading…
Reference in New Issue
Block a user