```
feat(vscode): 添加调试参数配置 为launch.json添加-debug=1参数,便于调试模式启动 docs(README): 补充zellij终端复用工具使用说明 添加x-cmd安装和zellij会话管理相关命令示例 refactor(config): 注释掉GamePort配置项 暂时注释GamePort配置项以解决配置冲突问题 refactor(xmlres): 移除未使用的gf框架依赖
This commit is contained in:
@@ -3,7 +3,6 @@ package admin
|
||||
import (
|
||||
"context"
|
||||
|
||||
"blazing/common/data/share"
|
||||
"blazing/cool"
|
||||
|
||||
"blazing/modules/base/service"
|
||||
@@ -51,11 +50,8 @@ func (c *BaseSysUserController) GetSession(ctx context.Context, req *SessionReq)
|
||||
|
||||
return &SessionRes{}, nil
|
||||
}
|
||||
retsid, sid, err := blazing_service.NewLoginServiceService().GetSessionId(t.UserId)
|
||||
if err != nil {
|
||||
return &SessionRes{}, nil
|
||||
retsid := blazing_service.NewLoginServiceService().GetSessionId(t.UserId)
|
||||
|
||||
}
|
||||
res = &SessionRes{}
|
||||
|
||||
t1 := service.NewBaseSysUserService().GetPerson(uint32(t.UserId))
|
||||
@@ -67,10 +63,6 @@ func (c *BaseSysUserController) GetSession(ctx context.Context, req *SessionReq)
|
||||
|
||||
}
|
||||
|
||||
if err := share.ShareManager.SaveSession(sid, uint32(t.UserId)); err != nil {
|
||||
return &SessionRes{}, nil
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user