42 lines
1.9 KiB
Go
42 lines
1.9 KiB
Go
package stdLog
|
|
|
|
var codeAndTip = map[CodeType]string{
|
|
Success: "成功",
|
|
Failure: "失败",
|
|
ParamError: "参数错误",
|
|
AdminAccountNotExists: "该账号不存在",
|
|
AdminPasswordError: "密码错误",
|
|
AdminGetAuthorityFailed: "获取权限失败",
|
|
NoToken: "没有token",
|
|
ParamDeductionRatioError: "无效的扣量值",
|
|
ChannelNotExists: "渠道不存在",
|
|
AgentAccountNotExists: "该账号不存在",
|
|
AgentPasswordError: "密码错误",
|
|
AuthorityRoleExists: "该权限角色已存在",
|
|
AgentHasLocked: "禁止登陆",
|
|
DisableWithdraw: "禁止交易",
|
|
NotSupportWithdraw: "不支持提现",
|
|
AccountExists: "账号已存在",
|
|
InvalidPhoneNumber: "手机号码无效",
|
|
AgentAccountBanned: "该账号已禁用",
|
|
GoogleAuthFailed: "两步验证失败",
|
|
AdvertiseLocExists: "该广告位置已经存在,请重新输入位置id",
|
|
WithdrawBalanceLess: "余额不足,请确认!",
|
|
WithdrawMobileError: "手机号码不一致,请确认!",
|
|
VerifySmsCodeFailed: "验证码不正确,请确认!",
|
|
WithdrawFailed: "提现失败!",
|
|
AdvertiseInvalid: "无效的广告",
|
|
AppInfoError: "应用信息不正确",
|
|
InvalidPrice: "无效的金额",
|
|
ChannelExists: "渠道已存在",
|
|
QueryDataError: "数据查询失败",
|
|
UpdateDataError: "更新数据失败",
|
|
DelDataError: "删除数据失败",
|
|
DataNotExist: "数据不存在",
|
|
ActivityNoExistErr: "活动不存在",
|
|
LotteryNumReachedTheLimit: "今日抽奖次数达到限制",
|
|
LotteryCodeIsInvalid: "兑换码无效",
|
|
LotteryCodeIsUsed: "兑换码已使用",
|
|
ApplicationLocExists: "该广告位置已经存在,请重新输入位置id",
|
|
}
|