mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-20 20:39:55 +00:00
refactor(database): 重构系统表命名及数据隔离逻辑
- 将系统表前缀从'system_'统一改为'sys_',包括用户、角色、部门等核心表 - 优化数据权限检查逻辑,支持初始化场景跳过权限验证 - 更新初始化脚本和模型模板,确保与新的表结构兼容 - 修复字典服务中is_default字段类型定义问题 - 调整控制台显示的数据库类型描述 - 添加业务逻辑文档,详细说明系统架构和核心功能 docs: 添加系统业务逻辑文档和多租户设计参考
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
[
|
||||
{
|
||||
"name": "集团总公司",
|
||||
"code": "GROUP",
|
||||
"order": 1,
|
||||
"status": "0",
|
||||
"leader": "部门负责人",
|
||||
"phone": "1582112620",
|
||||
"email": "deptadmin@example.com",
|
||||
"description": "集团总公司",
|
||||
"tenant_id": 1,
|
||||
"parent_id": null,
|
||||
"children": []
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user