fix(base): 修复登录地址端口配置错误

修改调试模式下的登录地址端口从 53888 为 53388

fix(player): 修复宠物信息查询空指针异常

添加空值检查避免当查询结果为空时返回空指针
```
This commit is contained in:
昔念
2026-01-20 19:36:56 +08:00
parent 8049e273f6
commit efafa96968
2 changed files with 5 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ func (c *BaseSysUserController) GetSession(ctx context.Context, req *SessionReq)
}
if cool.Config.ServerInfo.IsDebug != 0 {
res.LoginAddr = "192.168.1.44:53888"
res.LoginAddr = "192.168.1.44:53388"
} else {
res.LoginAddr = cool.Config.File.Domain + ":" + cool.Config.LoginPort
}