蛋蛋星球-制度模式
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.

user_wallet_fllow.go 709 B

1 week ago
1234567891011121314151617181920212223242526
  1. package enum
  2. // UserWalletFlowTransferType 用户钱包流水-类型
  3. type UserWalletFlowTransferType int
  4. const (
  5. AdministratorOperationAddBalance UserWalletFlowTransferType = iota + 1
  6. AdministratorOperationSubBalance
  7. EggEnergyExchangeAccountBalance
  8. AccountBalanceExchangeEggEnergy
  9. )
  10. func (kind UserWalletFlowTransferType) String() string {
  11. switch kind {
  12. case AdministratorOperationAddBalance:
  13. return "管理员操作增加余额"
  14. case AdministratorOperationSubBalance:
  15. return "管理员操作扣除余额"
  16. case EggEnergyExchangeAccountBalance:
  17. return "蛋蛋能量兑换余额"
  18. case AccountBalanceExchangeEggEnergy:
  19. return "余额兑换蛋蛋能量"
  20. default:
  21. return "未知状态"
  22. }
  23. }