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

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