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.
|
- package enum
-
- // 增值积分流水种类
- type AppreciationFlowKind int
-
- const (
- TransferIn AppreciationFlowKind = iota
- TransferOut
- WithdrawalAndDestroy
- WithdrawalAndReflux
- )
-
- func (kind AppreciationFlowKind) String() string {
- switch kind {
- case TransferIn:
- return "转入"
- case TransferOut:
- return "转出"
- case WithdrawalAndDestroy:
- return "提现销毁"
- case WithdrawalAndReflux:
- return "提现回流"
- default:
- return "未知状态"
- }
- }
|