This commit is contained in:
2025-04-08 14:50:24 +08:00
parent 14b5d10992
commit 31d797a092
8 changed files with 285 additions and 84 deletions

View File

@@ -14,7 +14,6 @@ const DB_ERROR uint32 = 100005
const DB_UPDATE_AFFECTED_ZERO_ERROR uint32 = 100006
const PARAM_VERIFICATION_ERROR uint32 = 100007
const CUSTOM_ERROR uint32 = 100008
const AUTH_ERROR uint32 = 100009
const LOGIN_FAILED uint32 = 200001
const LOGIC_QUERY_WAIT uint32 = 200002

View File

@@ -11,7 +11,6 @@ func init() {
message[TOKEN_GENERATE_ERROR] = "生成token失败"
message[DB_ERROR] = "数据库繁忙,请稍后再试"
message[DB_UPDATE_AFFECTED_ZERO_ERROR] = "更新数据影响行数为0"
message[AUTH_ERROR] = "权限错误,无权访问"
}
func MapErrMsg(errcode uint32) string {