chore: 初始提交 - 移除所有硬编码凭据,统一从环境变量读取
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"_comment": "圆桌派工具的鉴权配置",
|
||||
"enable_auth_comment": "true:启用三级鉴权(需要从导航登录、token握手或GUID访问);false:完全放开访问",
|
||||
"enable_auth": true,
|
||||
"max_age_days_comment": "鉴权 cookie 的最大有效天数(1~365)",
|
||||
"max_age_days": 30,
|
||||
"cookieName_comment": "鉴权 Cookie 名称,建议保持默认",
|
||||
"cookieName": "yuanzhupai_gate",
|
||||
"requireGuid_comment": "true:入口必须带 guid 参数;false:允许仅凭 token 或会话访问",
|
||||
"requireGuid": true,
|
||||
"guidParam_comment": "URL 中的 GUID 参数名,建议使用小写 guid",
|
||||
"guidParam": "guid",
|
||||
"guidValue_comment": "GUID 参数值,建议使用高强度随机长串并定期更换",
|
||||
"guidValue": "YUAN-ZHUOPAI-GUID-2025-SECURE-KEY-V8X9M2K4"
|
||||
}
|
||||
Reference in New Issue
Block a user