Files
FastapiAdmin/backend/app/scripts/data/sys_param.json
T
zhangtao 73f2823692 refactor: 大规模代码整理与功能优化
1. 重构后端API路由、CRUD与模块结构,整合日志管理,移除废弃demo代码
2. 优化前端组件类型定义、样式与路由配置,修复权限判断逻辑
3. 调整默认排序规则、滚动条样式与工具类函数,更新依赖与配置文件
4. 修复多处类型不匹配与默认值问题,完善表单与菜单验证逻辑
2026-06-17 01:56:31 +08:00

147 lines
4.1 KiB
JSON

[
{
"config_name": "演示模式启用",
"config_key": "demo_enable",
"config_value": "false",
"config_type": true,
"status": 0,
"description": "是否启用演示模式",
"tenant_id": 1
},
{
"config_name": "演示访问IP白名单",
"config_key": "ip_white_list",
"config_value": "[\"127.0.0.1\", \"::1\"]",
"config_type": true,
"status": 0,
"description": "演示模式下允许访问的IP列表",
"tenant_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\", \"/api/v1/system/auth/auto-login/users\", \"/api/v1/system/auth/auto-login/token\", \"/api/v1/system/auth/auto-login\", \"/common/health\", \"/common/health/ready\", \"/common/health/live\", \"/metrics\"]",
"config_type": true,
"status": 0,
"description": "无需登录即可访问的接口列表",
"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": "登录失败次数限制",
"config_key": "login_failed_limit",
"config_value": "5",
"config_type": true,
"status": 0,
"description": "登录失败最大次数",
"tenant_id": 1
},
{
"config_name": "登录锁定时间(分钟)",
"config_key": "login_lock_time",
"config_value": "15",
"config_type": true,
"status": 0,
"description": "登录失败后锁定时间",
"tenant_id": 1
},
{
"config_name": "Token过期时间(分钟)",
"config_key": "token_expire_minutes",
"config_value": "120",
"config_type": true,
"status": 0,
"description": "Access Token过期时间",
"tenant_id": 1
},
{
"config_name": "Refresh Token过期时间(天)",
"config_key": "refresh_token_expire_days",
"config_value": "7",
"config_type": true,
"status": 0,
"description": "Refresh Token过期时间",
"tenant_id": 1
},
{
"config_name": "密码有效期(天)",
"config_key": "password_expire_days",
"config_value": "90",
"config_type": true,
"status": 0,
"description": "密码有效期",
"tenant_id": 1
},
{
"config_name": "密码最小长度",
"config_key": "password_min_length",
"config_value": "6",
"config_type": true,
"status": 0,
"description": "密码最小长度",
"tenant_id": 1
},
{
"config_name": "是否启用验证码",
"config_key": "captcha_enable",
"config_value": "true",
"config_type": true,
"status": 0,
"description": "登录时是否启用验证码",
"tenant_id": 1
},
{
"config_name": "是否记录操作日志",
"config_key": "operation_log_enable",
"config_value": "true",
"config_type": true,
"status": 0,
"description": "是否记录用户操作日志",
"tenant_id": 1
},
{
"config_name": "操作日志保留天数",
"config_key": "operation_log_retention_days",
"config_value": "90",
"config_type": true,
"status": 0,
"description": "操作日志保留天数",
"tenant_id": 1
},
{
"config_name": "登录日志保留天数",
"config_key": "login_log_retention_days",
"config_value": "30",
"config_type": true,
"status": 0,
"description": "登录日志保留天数",
"tenant_id": 1
},
{
"config_name": "文件上传大小限制(MB)",
"config_key": "file_upload_max_size",
"config_value": "50",
"config_type": true,
"status": 0,
"description": "单个文件上传最大大小",
"tenant_id": 1
},
{
"config_name": "是否启用IP归属地查询",
"config_key": "ip_location_enable",
"config_value": "false",
"config_type": true,
"status": 0,
"description": "登录时是否查询IP归属地",
"tenant_id": 1
}
]