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

user_level_task.go 478 B

пре 1 месец
пре 1 месец
пре 1 месец
1234567891011121314151617181920212223
  1. package enum
  2. // UserLevelTaskType 会员等级-等级任务-分类
  3. type UserLevelTaskType int
  4. const (
  5. DirectPushMembersNum UserLevelTaskType = iota + 1
  6. DirectPushActiveDayNum
  7. DirectPushLevel
  8. )
  9. func (kind UserLevelTaskType) String() string {
  10. switch kind {
  11. case DirectPushMembersNum:
  12. return "直推会员人数"
  13. case DirectPushActiveDayNum:
  14. return "直推会员活跃天数"
  15. case DirectPushLevel:
  16. return "直推会员等级"
  17. default:
  18. return "未知状态"
  19. }
  20. }