mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-21 20:55:14 +00:00
refactor: 统一初始化数据文件存放路径并清理冗余脚本数据
1. 将所有初始化数据文件从app/scripts/data迁移至backend/sql/data目录 2. 更新path_conf.py中的SCRIPT_DIR配置指向新路径 3. 移除app/scripts/data下的冗余初始化数据文件 4. 清理权限缓存相关的进程级缓存逻辑 5. 调整部分代码导入顺序和冗余依赖 6. 简化用户菜单获取逻辑,移除菜单树缓存 7. 调整套餐菜单设置接口,移除redis参数传递
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
[
|
||||
{
|
||||
"user_id": 1,
|
||||
"tenant_id": 1,
|
||||
"role": "owner",
|
||||
"is_default": 1
|
||||
},
|
||||
{
|
||||
"user_id": 2,
|
||||
"tenant_id": 1,
|
||||
"role": "admin",
|
||||
"is_default": 1
|
||||
},
|
||||
{
|
||||
"user_id": 3,
|
||||
"tenant_id": 1,
|
||||
"role": "member",
|
||||
"is_default": 1
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user