This commit is contained in:
wh_zcy 2022-08-18 10:41:45 +08:00
parent 58e8c9002d
commit eda8d58118
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,7 @@
## install tool
<!-- https://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download -->
go install fyne.io/fyne/v2/cmd/fyne@latest
## install font

View File

@ -80,7 +80,9 @@ func (this *apiComp) Login(session comm.IUserSession, req *pb.UserLoginReq) (cod
}
//缓存user session
err = this.module.modelSession.ChangeList("online", user.Uid, map[string]interface{}{
// this.module.modelSession.Get(user.Uid, data interface{})
err = this.module.modelSession.AddList("online", user.Uid, map[string]interface{}{
"uid": user.Uid,
"sessionId": session.GetSessionId(),
"serviceTag": session.GetServiecTag(),