蛋蛋星球-制度模式
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

user_wallet_fllow.go 987 B

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. }