"refactor(error): 重构错误码定义,新增详细错误描述并优化登录错误处理"

This commit is contained in:
1
2025-07-31 08:04:23 +00:00
parent a53ecc4fa9
commit 04d4777ec1
3 changed files with 597 additions and 42 deletions

View File

@@ -23,7 +23,7 @@ func (h *Controller) Login(data *login.InInfo, c *entity.Conn) (result *login.Ou
c.SendPack(data.Def())
} else {
err = errorcode.ErrorCodes.ErrLoginFailed
err = errorcode.ErrorCodes.ErrLoginServerError
return
}
return