refact:openteam
This commit is contained in:
17
team/consts/consts.go
Normal file
17
team/consts/consts.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package consts
|
||||
|
||||
const (
|
||||
RoleGuest = iota * 10
|
||||
RoleUser
|
||||
RoleAdmin
|
||||
RoleSuperAdmin
|
||||
)
|
||||
|
||||
const (
|
||||
StatusEnabled = iota
|
||||
StatusDisabled
|
||||
StatusExpired // 过期
|
||||
StatusExhausted // 耗尽
|
||||
StatusDeleted
|
||||
)
|
||||
const UnlimitedQuota = -1
|
||||
Reference in New Issue
Block a user