广告平台(站长使用)
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

enum_agent.go 547 B

2 달 전
12345678910111213141516171819202122232425
  1. package enum
  2. type AgentSettlementType int32
  3. const (
  4. AgentSettlementTypeForDay = 1
  5. AgentSettlementTypeForWeek = 2
  6. AgentSettlementTypeForMonth = 3
  7. AgentSettlementTypeForPaymentInAdvance = 4
  8. )
  9. func (gt AgentSettlementType) String() string {
  10. switch gt {
  11. case AgentSettlementTypeForDay:
  12. return "日结"
  13. case AgentSettlementTypeForWeek:
  14. return "周结"
  15. case AgentSettlementTypeForMonth:
  16. return "月结"
  17. case AgentSettlementTypeForPaymentInAdvance:
  18. return "预付"
  19. default:
  20. return "未知"
  21. }
  22. }