mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-22 13:05:18 +00:00
feat: 新增系统租户和用户初始化数据 style: 优化代码注释和格式 fix: 修复数据权限检查逻辑中的created_id字段判断 perf: 移除不必要的模型关系以提升性能 docs: 更新初始化数据的描述信息 chore: 清理废弃文件和冗余代码
57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
[
|
|
{
|
|
"name": "集团总公司",
|
|
"code": "GROUP",
|
|
"order": 1,
|
|
"status": true,
|
|
"parent_id": null,
|
|
"leader": "超级管理员",
|
|
"phone": "13800138000",
|
|
"email": "admin@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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|