mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-04 17:14:21 +00:00
refactor: 重构查询参数模块,将param.py合并到schema.py中
feat: 为模型添加租户配额字段和字典表关联关系 fix: 修复部门树查询未应用租户隔离的问题 perf: 优化操作日志中间件的拦截逻辑和日志记录 style: 清理无用导入和重复代码 test: 添加基础测试文件 docs: 更新模型注释和字段说明
This commit is contained in:
@@ -4,53 +4,12 @@
|
||||
"code": "GROUP",
|
||||
"order": 1,
|
||||
"status": true,
|
||||
"parent_id": null,
|
||||
"leader": "超级管理员",
|
||||
"phone": "13800138000",
|
||||
"email": "admin@example.com",
|
||||
"leader": "部门负责人",
|
||||
"phone": "1582112620",
|
||||
"email": "deptadmin@example.com",
|
||||
"description": "集团总公司",
|
||||
"tenant_id": 1,
|
||||
"children": [
|
||||
{
|
||||
"name": "北京分公司",
|
||||
"code": "BJ",
|
||||
"order": 1,
|
||||
"status": true,
|
||||
"parent_id": null,
|
||||
"leader": "分公司经理",
|
||||
"phone": "13900139000",
|
||||
"email": "manager@example.com",
|
||||
"description": "北京分公司",
|
||||
"tenant_id": 1,
|
||||
"children": [
|
||||
{
|
||||
"name": "软件部",
|
||||
"code": "TECH",
|
||||
"order": 1,
|
||||
"status": true,
|
||||
"parent_id": null,
|
||||
"leader": "技术总监",
|
||||
"phone": "13700137000",
|
||||
"email": "tech@example.com",
|
||||
"description": "软件部",
|
||||
"tenant_id": 1,
|
||||
"children": [
|
||||
{
|
||||
"name": "开发组",
|
||||
"code": "DEV",
|
||||
"order": 1,
|
||||
"status": true,
|
||||
"parent_id": null,
|
||||
"leader": "开发主管",
|
||||
"phone": "13600136000",
|
||||
"email": "dev@example.com",
|
||||
"description": "开发组",
|
||||
"tenant_id": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"parent_id": null,
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user