init
This commit is contained in:
16
backend/pkg/consts/consts.go
Normal file
16
backend/pkg/consts/consts.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package consts
|
||||
|
||||
// Format
|
||||
//
|
||||
// // swagger:enum CacheKey
|
||||
// // ENUM(
|
||||
// // VerifyCode = "code:__CHANNEL__:%s",
|
||||
// // )
|
||||
|
||||
// swagger:enum Role
|
||||
// ENUM( user, tenant_admin, super_admin)
|
||||
type Role string
|
||||
|
||||
// swagger:enum UserStatus
|
||||
// ENUM(pending_verify, verified, banned, )
|
||||
type UserStatus string
|
||||
Reference in New Issue
Block a user