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
-
- // UserWalletFlowTransferType 用户钱包流水-类型
- type UserWalletFlowTransferType int
-
- const (
- AdministratorOperationAddBalance UserWalletFlowTransferType = iota + 1
- AdministratorOperationSubBalance
- EggEnergyExchangeAccountBalance
- AccountBalanceExchangeEggEnergy
- UserSendRedPackage
- UserReceiveRedPackage
- UserWithdrawApply
- UserWithdrawBad
- UserToAlipayRealName
- )
-
- func (kind UserWalletFlowTransferType) String() string {
- switch kind {
- case AdministratorOperationAddBalance:
- return "管理员操作增加余额"
- case AdministratorOperationSubBalance:
- return "管理员操作扣除余额"
- case EggEnergyExchangeAccountBalance:
- return "蛋蛋能量兑换余额"
- case AccountBalanceExchangeEggEnergy:
- return "余额兑换蛋蛋能量"
- case UserSendRedPackage:
- return "发送红包"
- case UserReceiveRedPackage:
- return "领取红包"
- case UserWithdrawApply:
- return "用户提现"
- case UserWithdrawBad:
- return "提现失败"
- case UserToAlipayRealName:
- return "支付宝实名认证"
- default:
- return "未知状态"
- }
- }
|