This commit is contained in:
2026-04-18 12:05:21 +08:00
parent 55fcaf62dc
commit 957976db31
21 changed files with 331 additions and 140 deletions

View File

@@ -17,6 +17,7 @@ const CUSTOM_ERROR uint32 = 100008
const USER_NOT_FOUND uint32 = 100009
const USER_NEED_BIND_MOBILE uint32 = 100010
const USER_DISABLED uint32 = 100011 // 账号已被封禁
const USER_TEMP_INVALID uint32 = 100012
const LOGIN_FAILED uint32 = 200001
const LOGIC_QUERY_WAIT uint32 = 200002

View File

@@ -14,6 +14,7 @@ func init() {
message[USER_NOT_FOUND] = "用户不存在"
message[USER_NEED_BIND_MOBILE] = "请先绑定手机号"
message[USER_DISABLED] = "账号已被封禁"
message[USER_TEMP_INVALID] = "用户状态异常"
}
func MapErrMsg(errcode uint32) string {