refact:openteam

This commit is contained in:
Sakurasan committed 2025-01-01 23:10:01 +08:00
1 parent 1f5e1c221c
commit 65d6d12972
18 files changed
+1126 -106

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
package consts
const (
RoleGuest = iota * 10
RoleUser
RoleAdmin
RoleSuperAdmin
)
const (
StatusEnabled = iota
StatusDisabled
StatusExpired // 过期
StatusExhausted // 耗尽
StatusDeleted
)
const UnlimitedQuota = -1