Files
FastapiAdmin/backend/sql/data/sys_param.json
T
zhangtao a222cd9e43 refactor: 移除多租户相关代码,重构为单租户架构
此次提交进行了大规模的架构重构:
1.  移除所有平台租户相关模块和代码,包括租户管理、套餐、订单、发票等功能
2.  将菜单模块从platform迁移到system模块,统一系统功能入口
3.  移除租户隔离相关的模型混入、中间件和配置
4.  简化文件上传、SSE事件总线、定时任务等模块的租户逻辑
5.  重构所有业务schema和模型,移除租户相关字段和关联
6.  清理初始化脚本、模板和常量中的租户相关代码
7.  简化认证和权限控制逻辑,移除数据范围检查相关代码
2026-07-16 23:22:45 +08:00

120 lines
3.2 KiB
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
},
{
"config_name": "Logo URL",
"config_key": "logo_url",
"config_value": "https://service.fastapiadmin.com/api/v1/static/image/logo.svg",
"config_type": true,
"status": 0,
"description": "平台Logo地址",
"tenant_id": 1
},
{
"config_name": "Favicon 地址",
"config_key": "favicon",
"config_value": "https://service.fastapiadmin.com/api/v1/static/image/favicon.ico",
"config_type": true,
"status": 0,
"description": "浏览器标签栏图标地址",
"tenant_id": 1
},
{
"config_name": "登录背景图",
"config_key": "login_bg",
"config_value": "https://service.fastapiadmin.com/api/v1/static/image/background.svg",
"config_type": true,
"status": 0,
"description": "登录页面背景图地址",
"tenant_id": 1
},
{
"config_name": "版权信息",
"config_key": "copyright",
"config_value": "Copyright © 2025-2027 service.fastapiadmin.com 版权所有",
"config_type": true,
"status": 0,
"description": "页面底部版权信息",
"tenant_id": 1
},
{
"config_name": "备案号",
"config_key": "keep_record",
"config_value": "陕ICP备2025069493号-1",
"config_type": true,
"status": 0,
"description": "ICP备案号",
"tenant_id": 1
},
{
"config_name": "帮助文档地址",
"config_key": "help_doc",
"config_value": "https://docs.fastapiadmin.com",
"config_type": true,
"status": 0,
"description": "帮助文档链接地址",
"tenant_id": 1
},
{
"config_name": "隐私政策地址",
"config_key": "privacy",
"config_value": "https://fastapiadmin.com/privacy",
"config_type": true,
"status": 0,
"description": "隐私政策链接地址",
"tenant_id": 1
},
{
"config_name": "用户协议地址",
"config_key": "clause",
"config_value": "https://fastapiadmin.com/clause",
"config_type": true,
"status": 0,
"description": "用户协议链接地址",
"tenant_id": 1
},
{
"config_name": "源码地址",
"config_key": "git_code",
"config_value": "https://github.com/fastapi-admin/fastapi-admin",
"config_type": true,
"status": 0,
"description": "项目源码仓库地址",
"tenant_id": 1
},
{
"config_name": "系统版本",
"config_key": "version",
"config_value": "3.0.0",
"config_type": true,
"status": 0,
"description": "系统版本号",
"tenant_id": 1
}
]