Sfoglia il codice sorgente

add level task

master
shenjiachi 1 settimana fa
parent
commit
5015c2997b
1 ha cambiato i file con 22 aggiunte e 0 eliminazioni
  1. +22
    -0
      enum/user_level_task.go

+ 22
- 0
enum/user_level_task.go Vedi File

@@ -0,0 +1,22 @@
package enum

type UserLevelTaskType int

const (
DirectPushMembersNum UserLevelTaskType = iota + 1
DirectPushActiveDayNum
DirectPushLevel
)

func (kind UserLevelTaskType) String() string {
switch kind {
case DirectPushMembersNum:
return "直推会员人数"
case DirectPushActiveDayNum:
return "直推会员活跃天数"
case DirectPushLevel:
return "直推会员等级"
default:
return "未知状态"
}
}

Caricamento…
Annulla
Salva