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

42 lines
1.0 KiB

  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. UserToAlipayRealName
  14. )
  15. func (kind UserWalletFlowTransferType) String() string {
  16. switch kind {
  17. case AdministratorOperationAddBalance:
  18. return "管理员操作增加余额"
  19. case AdministratorOperationSubBalance:
  20. return "管理员操作扣除余额"
  21. case EggEnergyExchangeAccountBalance:
  22. return "蛋蛋能量兑换余额"
  23. case AccountBalanceExchangeEggEnergy:
  24. return "余额兑换蛋蛋能量"
  25. case UserSendRedPackage:
  26. return "发送红包"
  27. case UserReceiveRedPackage:
  28. return "领取红包"
  29. case UserWithdrawApply:
  30. return "用户提现"
  31. case UserWithdrawBad:
  32. return "提现失败"
  33. case UserToAlipayRealName:
  34. return "支付宝实名认证"
  35. default:
  36. return "未知状态"
  37. }
  38. }