Files
FastapiAdmin/backend/app/scripts/data/sys_param.json
T
zhangtao 61c9580656 chore: 更新演示环境配置与示例参数
1. 新增并配置开发/生产环境的大模型基础URL
2. 更新演示模式IP白名单为实际演示IP
3. 启用生产环境的演示模式
2026-06-18 01:44:11 +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\", \"223.104.209.37\"]",
"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
}
]