Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
|
- package enum
-
- // FinWithdrawApplyState 提现单状态
- type FinWithdrawApplyState int
-
- const (
- FinWithdrawApplyStateForApply FinWithdrawApplyState = iota
- FinWithdrawApplyStateForPass
- FinWithdrawApplyStateForSuccess
- FinWithdrawApplyStateForBad
- FinWithdrawApplyStateForIng
- )
-
- func (kind FinWithdrawApplyState) String() string {
- switch kind {
- case FinWithdrawApplyStateForApply:
- return "申请中"
- case FinWithdrawApplyStateForPass:
- return "通过"
- case FinWithdrawApplyStateForSuccess:
- return "完成"
- case FinWithdrawApplyStateForBad:
- return "失败"
- case FinWithdrawApplyStateForIng:
- return "处理中"
- default:
- return "未知状态"
- }
- }
-
- // FinWithdrawApplyReason 提现单驳回理由
- type FinWithdrawApplyReason int
-
- const (
- FinWithdrawApplyReasonForNotRule FinWithdrawApplyReason = iota + 1
- FinWithdrawApplyReasonForAccountAbnormal
- FinWithdrawApplyReasonForFundAbnormal
- )
-
- func (kind FinWithdrawApplyReason) String() string {
- switch kind {
- case FinWithdrawApplyReasonForNotRule:
- return "当前账号不满足提现规则"
- case FinWithdrawApplyReasonForAccountAbnormal:
- return "账号异常"
- case FinWithdrawApplyReasonForFundAbnormal:
- return "资金异常"
- default:
- return "未知状态"
- }
- }
-
- // FinWithdrawApplyWithdrawKind 提现单提现方式
- type FinWithdrawApplyWithdrawKind int
-
- const (
- FinWithdrawApplyWithdrawKindForAli FinWithdrawApplyWithdrawKind = iota + 1
- FinWithdrawApplyWithdrawKindForWx
- )
-
- func (kind FinWithdrawApplyWithdrawKind) String() string {
- switch kind {
- case FinWithdrawApplyWithdrawKindForAli:
- return "支付宝"
- case FinWithdrawApplyWithdrawKindForWx:
- return "微信"
- default:
- return "未知状态"
- }
- }
|