订单分佣规则
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.

27 lines
461 B

  1. package enum
  2. // 增值积分流水种类
  3. type AppreciationFlowKind int
  4. const (
  5. TransferIn AppreciationFlowKind = iota
  6. TransferOut
  7. WithdrawalAndDestroy
  8. WithdrawalAndReflux
  9. )
  10. func (kind AppreciationFlowKind) String() string {
  11. switch kind {
  12. case TransferIn:
  13. return "转入"
  14. case TransferOut:
  15. return "转出"
  16. case WithdrawalAndDestroy:
  17. return "提现销毁"
  18. case WithdrawalAndReflux:
  19. return "提现回流"
  20. default:
  21. return "未知状态"
  22. }
  23. }