Browse Source

add withdraw fail kinds

master
shenjiachi 2 days ago
parent
commit
6f22c03e84
1 changed files with 22 additions and 0 deletions
  1. +22
    -0
      enum/withdraw_apply.go

+ 22
- 0
enum/withdraw_apply.go View File

@@ -68,3 +68,25 @@ func (kind FinWithdrawApplyWithdrawKind) String() string {
return "未知状态"
}
}

// FinWithdrawApplyWithdrawConditionDissatisfyKind 提现不满足条件类型
type FinWithdrawApplyWithdrawConditionDissatisfyKind int

const (
FinWithdrawApplyWithdrawConditionDissatisfyKindNotRealName = iota + 1
FinWithdrawApplyWithdrawConditionDissatisfyKindNotEnoughLevel
FinWithdrawApplyWithdrawConditionDissatisfyKindNotInTime
)

func (kind FinWithdrawApplyWithdrawConditionDissatisfyKind) String() string {
switch kind {
case FinWithdrawApplyWithdrawConditionDissatisfyKindNotRealName:
return "用户未实名"
case FinWithdrawApplyWithdrawConditionDissatisfyKindNotEnoughLevel:
return "用户未达到提现等级"
case FinWithdrawApplyWithdrawConditionDissatisfyKindNotInTime:
return "不在提现时间"
default:
return "未知错误"
}
}

Loading…
Cancel
Save