You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.5 KiB
35 lines
1.5 KiB
package values |
|
|
|
// 错误码 |
|
const ( |
|
CodeOK = iota |
|
CodeRetry // 内部错误 |
|
CodeToken // token过期 |
|
CodeParam // 参数有误 |
|
CodeServer // 服务器维护中 |
|
) |
|
|
|
// 账号错误码 |
|
const ( |
|
CodeReqBusy = iota + 100 // 请求过于频繁 |
|
CodeCodeError // 验证码错误 |
|
CodeAccountNotExist // 账号不存在 |
|
CodeAccountAlreadyExist // 账号已经存在 |
|
CodeAccountPass // 密码错误 |
|
CodeAccountIPLimit // ip限制 |
|
CodeAccountAlreadyBind // 账号已绑定 |
|
CodePhoneAlreadyBind // 手机号已绑定 |
|
CodePhoneCodeBusy // 请求过于频繁 |
|
CodeWithdrawNotEnough // 退出钱不够 |
|
CodeWithdrawLimit // 退出次数达上限 |
|
CodeWithdrawCondition // 未到达退出条件 |
|
CodeActivityExpire // 不在活动时间内 |
|
CodeBuyLimit // 超出购买限制 |
|
CodeNickInvalid // 修改的昵称不合法 |
|
CodeMailUndrawable // 邮件没有附件可领取 |
|
CodeMailDrew // 邮件已领取 |
|
CodeAccountLimit // 账号已封禁 |
|
CodeRecharge // 需要充值 |
|
CodeWithdrawConditionVip // 未到达vip退出条件 |
|
CodeWithdrawConditionBet // 未到达打码退出条件 |
|
)
|
|
|