i18n_error_msg.go 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. package constant
  2. // 公共错误
  3. const (
  4. ErrorParams = "参数错误"
  5. ErrorSystem = "系统错误"
  6. ErrorFrequent = "请求频繁"
  7. ErrorInfo = "信息异常"
  8. ErrorAccount = "账户异常"
  9. ErrorRepeatRequest = "请求重复"
  10. ErrorNotOpen = "暂未开放"
  11. ErrorAuthorizationFail = "授权登录失败"
  12. )
  13. // 用户模块
  14. const (
  15. ErrorMustBindParent = "请绑定上级"
  16. )
  17. // 资产模块
  18. const (
  19. ErrorNumsParams = "数值错误"
  20. ErrorInsufficientBalance = "余额不足"
  21. ErrorResponseUnderMinAmount = "低于最低金额"
  22. ErrorResponseExceedAmountLimit = "超出金额限制"
  23. ErrorResponseBalanceNotEnough = "余额不足"
  24. ErrorResponseTransferAmountInvalid = "金额无效"
  25. ErrorResponseTransferWithdrawSystemTending = "提现系统维护"
  26. ErrorResponseTransferCodeFail = "收款方异常" // 收款方异常
  27. ErrorResponseRedeem = "24小内存在活期质押无法赎回" // 24小内存在活期质押无法赎回
  28. ErrorResponseSystemSettlementInProgress = "系统结算中" // 系统结算中
  29. ErrorResponseTransferWithdraw10With24Hours = "24小时内转账超过10次"
  30. )