Files
FastapiAdmin/backend/app/scripts/data/system_param.json
T
zhangtao e669722706 refactor: 重构系统配置和用户模型相关代码
feat: 添加中间件系统配置获取功能
fix: 修复用户模型和CRUD基础类的问题
docs: 更新README和界面文本
style: 清理无用代码和注释
2025-10-08 01:32:14 +08:00

146 lines
4.4 KiB
JSON

[
{
"config_name": "网站名称",
"config_key": "sys_web_title",
"config_value": "FastAPI Vue3 Admin",
"config_type": true,
"status": true,
"description": "网站名称",
"creator_id": 1
},
{
"config_name": "网站描述",
"config_key": "sys_web_description",
"config_value": "FastAPI Vue3 Admin 是完全开源的权限管理系统",
"config_type": true,
"status": true,
"description": "网站描述",
"creator_id": 1
},
{
"config_name": "网页图标",
"config_key": "sys_web_favicon",
"config_value": "https://service.fastapiadmin.com/api/v1/static/image/favicon.png",
"config_type": true,
"status": true,
"description": "网页图标",
"creator_id": 1
},
{
"config_name": "网站Logo",
"config_key": "sys_web_logo",
"config_value": "https://service.fastapiadmin.com/api/v1/static/image/logo.png",
"config_type": true,
"status": true,
"description": "网站Logo",
"creator_id": 1
},
{
"config_name": "登录背景",
"config_key": "sys_login_background",
"config_value": "https://service.fastapiadmin.com/api/v1/static/image/background.svg",
"config_type": true,
"status": true,
"description": "登录背景",
"creator_id": 1
},
{
"config_name": "版权信息",
"config_key": "sys_web_copyright",
"config_value": "Copyright © 2025-2026 service.fastapiadmin.com 版权所有",
"config_type": true,
"status": true,
"description": "版权信息",
"creator_id": 1
},
{
"config_name": "备案信息",
"config_key": "sys_keep_record",
"config_value": "陕ICP备2025069493号-1",
"config_type": true,
"status": true,
"description": "备案信息",
"creator_id": 1
},
{
"config_name": "演示模式启用",
"config_key": "demo_enable",
"config_value": "false",
"config_type": true,
"status": true,
"description": "是否开启演示模式",
"creator_id": 1
},
{
"config_name": "接口白名单",
"config_key": "white_api_list_path",
"config_value": "[\"/api/v1/system/auth/login\", \"/api/v1/system/auth/token/refresh\", \"/api/v1/system/auth/captcha/get\", \"/api/v1/system/auth/logout\", \"/api/v1/system/config/info\", \"/api/v1/system/user/current/info\", \"/api/v1/system/notice/available\"]",
"config_type": true,
"status": true,
"description": "接口白名单",
"creator_id": 1
},
{
"config_name": "访问IP白名单",
"config_key": "ip_white_list",
"config_value": "[\"127.0.0.1\"]",
"config_type": true,
"status": true,
"description": "演示模式IP白名单列表",
"creator_id": 1
},
{
"config_name": "访问IP黑名单",
"config_key": "ip_black_list",
"config_value": "[]",
"config_type": true,
"status": true,
"description": "访问IP黑名单",
"creator_id": 1
},
{
"config_name": "允许上传文件类型",
"config_key": "allowed_extensions",
"config_value": "[\".bmp\", \".gif\", \".jpg\", \".jpeg\", \".png\", \".ico\", \".svg\", \".csv\", \".doc\", \".docx\", \".xls\", \".xlsx\", \".ppt\", \".pptx\", \".html\", \".htm\", \".txt\", \".pdf\", \".rar\", \".zip\", \".gz\", \".bz2\", \".mp4\", \".avi\", \".rmvb\"]",
"config_type": true,
"status": true,
"description": "允许上传的文件类型列表",
"creator_id": 1
},
{
"config_name": "最大文件上传大小",
"config_key": "max_file_size",
"config_value": "10485760",
"config_type": true,
"status": true,
"description": "最大文件上传大小(字节),默认10MB",
"creator_id": 1
},
{
"config_name": "操作日志记录开关",
"config_key": "operation_log_record",
"config_value": "True",
"config_type": true,
"status": true,
"description": "是否记录操作日志",
"creator_id": 1
},
{
"config_name": "操作日志记录方法",
"config_key": "operation_record_method",
"config_value": "[\"POST\", \"PUT\", \"PATCH\", \"DELETE\", \"HEAD\", \"OPTIONS\"]",
"config_type": true,
"status": true,
"description": "操作日志记录方法",
"creator_id": 1
},
{
"config_name": "忽略操作日志函数",
"config_key": "ignore_operation_function",
"config_value": "[\"get_captcha_for_login\"]",
"config_type": true,
"status": true,
"description": "忽略操作日志函数",
"creator_id": 1
}
]