22
This commit is contained in:
8
app/core/roles.py
Normal file
8
app/core/roles.py
Normal file
@@ -0,0 +1,8 @@
|
||||
ROLE_ADMIN = 1
|
||||
ROLE_AGENT = 2
|
||||
|
||||
ROLE_LABELS: dict[int, str] = {
|
||||
0: "普通用户",
|
||||
ROLE_ADMIN: "管理员",
|
||||
ROLE_AGENT: "代理",
|
||||
}
|
||||
Reference in New Issue
Block a user