This commit is contained in:
fengchuanhn@gmail.com
2026-05-17 12:54:13 +08:00
parent 1b8ca10ec9
commit 3db327d93b
38 changed files with 2820 additions and 14 deletions

8
app/core/roles.py Normal file
View File

@@ -0,0 +1,8 @@
ROLE_ADMIN = 1
ROLE_AGENT = 2
ROLE_LABELS: dict[int, str] = {
0: "普通用户",
ROLE_ADMIN: "管理员",
ROLE_AGENT: "代理",
}