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

преди 2 седмици
преди 29 минути
преди 2 седмици
преди 29 минути
преди 2 седмици
1234567891011121314151617181920212223242526272829303132333435363738
  1. package enum
  2. // UserWalletFlowTransferType 用户钱包流水-类型
  3. type UserWalletFlowTransferType int
  4. const (
  5. AdministratorOperationAddBalance UserWalletFlowTransferType = iota + 1
  6. AdministratorOperationSubBalance
  7. EggEnergyExchangeAccountBalance
  8. AccountBalanceExchangeEggEnergy
  9. UserSendRedPackage
  10. UserReceiveRedPackage
  11. UserWithdrawApply
  12. UserWithdrawBad
  13. )
  14. func (kind UserWalletFlowTransferType) String() string {
  15. switch kind {
  16. case AdministratorOperationAddBalance:
  17. return "管理员操作增加余额"
  18. case AdministratorOperationSubBalance:
  19. return "管理员操作扣除余额"
  20. case EggEnergyExchangeAccountBalance:
  21. return "蛋蛋能量兑换余额"
  22. case AccountBalanceExchangeEggEnergy:
  23. return "余额兑换蛋蛋能量"
  24. case UserSendRedPackage:
  25. return "发送红包"
  26. case UserReceiveRedPackage:
  27. return "领取红包"
  28. case UserWithdrawApply:
  29. return "用户提现"
  30. case UserWithdrawBad:
  31. return "提现失败"
  32. default:
  33. return "未知状态"
  34. }
  35. }