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:
zhangtao
2026-07-13 01:38:51 +08:00
parent cf88ab8897
commit 8d0e76c694
23 changed files with 16 additions and 75 deletions
@@ -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
}
]