Files
yangxiangyuan d3856cb52a chore: add and update gitignore rules for project files
add a comprehensive gitignore file to exclude unnecessary files like dependencies, runtime data, uploads, local configs and debug temporary files
2026-06-22 21:24:46 +08:00

16 lines
880 B
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"_comment": "OSS 文件柜前端鉴权配置",
"enable_auth_comment": "true: 启用三层鉴权(cookie/GUID/token); false: 完全放开访问",
"enable_auth": true,
"max_age_days_comment": "鉴权 cookie 最大有效天数(1~365),过期后需重新获取入口授权",
"max_age_days": 30,
"cookieName_comment": "鉴权 Cookie 名称(gate 外层 cookie,不等于业务登录态)",
"cookieName": "oss_file_cabinet_gate",
"requireGuid_comment": "true:入口必须带 guid 参数,否则直接拒绝;false:允许仅凭 token 或已有会话访问",
"requireGuid": true,
"guidParam_comment": "URL 中的 GUID 参数名,建议使用小写 guid",
"guidParam": "guid",
"guidValue_comment": "GUID 参数值,建议使用高强度随机长串并定期更换,不在前端硬编码",
"guidValue": "db8a_2f1c-90e7-45a-a(d2-c3e4f50890"
}