mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-20 20:39:55 +00:00
1. 将所有初始化数据文件从app/scripts/data迁移至backend/sql/data目录 2. 更新path_conf.py中的SCRIPT_DIR配置指向新路径 3. 移除app/scripts/data下的冗余初始化数据文件 4. 清理权限缓存相关的进程级缓存逻辑 5. 调整部分代码导入顺序和冗余依赖 6. 简化用户菜单获取逻辑,移除菜单树缓存 7. 调整套餐菜单设置接口,移除redis参数传递
30 lines
763 B
JSON
30 lines
763 B
JSON
[
|
|
{
|
|
"config_name": "演示模式启用",
|
|
"config_key": "demo_enable",
|
|
"config_value": "off",
|
|
"config_type": true,
|
|
"status": 0,
|
|
"description": "是否启用演示模式(启用后非白名单IP只允许GET请求)",
|
|
"tenant_id": 1
|
|
},
|
|
{
|
|
"config_name": "演示访问IP白名单",
|
|
"config_key": "ip_white_list",
|
|
"config_value": "[\"127.0.0.1\"]",
|
|
"config_type": true,
|
|
"status": 0,
|
|
"description": "演示模式下允许访问的IP列表",
|
|
"tenant_id": 1
|
|
},
|
|
{
|
|
"config_name": "访问IP黑名单",
|
|
"config_key": "ip_black_list",
|
|
"config_value": "[]",
|
|
"config_type": true,
|
|
"status": 0,
|
|
"description": "禁止访问的IP列表(任意请求均拒绝)",
|
|
"tenant_id": 1
|
|
}
|
|
]
|