forked from all_user/stat_center
Initial commit
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
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",
|
||||
}
|
||||
Reference in New Issue
Block a user