实现商户注册、管理员审核商户申请接口
This commit is contained in:
14
internal/consts/role.go
Normal file
14
internal/consts/role.go
Normal file
@ -0,0 +1,14 @@
|
||||
package consts
|
||||
|
||||
const (
|
||||
GuestRoleCode = "guest"
|
||||
UserRoleCode = "user"
|
||||
AdminRoleCode = "admin"
|
||||
MerchantRoleCode = "merchant"
|
||||
StoreRoleCode = "store"
|
||||
)
|
||||
|
||||
const (
|
||||
RoleEnable = iota + 1
|
||||
RoleDisable
|
||||
)
|
||||
Reference in New Issue
Block a user