f
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user