Files
stat_center/common/stdLog/msg.go
T
2026-05-20 16:13:58 +08:00

42 lines
1.9 KiB
Go

package stdLog
var codeAndMsg = map[CodeType]string{
Success: "success",
Failure: "Failed",
ParamError: "Param error",
AdminAccountNotExists: "Account is not exists",
AdminPasswordError: "Password error",
AdminGetAuthorityFailed: "Get authority failed",
NoToken: "no token",
ParamDeductionRatioError: "invalid deduction ratio",
ChannelNotExists: "channel not exists",
AgentAccountNotExists: "Account is not exists",
AgentPasswordError: "Password error",
AuthorityRoleExists: "authority role is existed",
AgentHasLocked: "agent has been locked",
DisableWithdraw: "trader disabled",
NotSupportWithdraw: "not support withdraw",
AccountExists: "account is exists",
InvalidPhoneNumber: "Invalid phone number",
AgentAccountBanned: "account is banned",
GoogleAuthFailed: "google two step auth failed",
AdvertiseLocExists: "advertise location exists",
WithdrawBalanceLess: "balance not enough",
WithdrawMobileError: "mobile is different",
VerifySmsCodeFailed: "sms code is not correct",
WithdrawFailed: "withdraw failed",
AdvertiseInvalid: "invalid advertisement",
AppInfoError: "application info error",
InvalidPrice: "invliad price",
ChannelExists: "channel exists",
QueryDataError: "query data error",
UpdateDataError: "update data error",
DelDataError: "delete data error",
DataNotExist: "data does not exist",
ActivityNoExistErr: "activity does not exist",
LotteryNumReachedTheLimit: "lottery num reached the limit",
LotteryCodeIsInvalid: "lottery code is invalid",
LotteryCodeIsUsed: "lottery code is used",
ApplicationLocExists: "application location exists",
}