This commit is contained in:
张成
2026-03-27 13:14:10 +08:00
parent 42907d0f21
commit 2f04459492
10 changed files with 465 additions and 1 deletions

View File

@@ -36,5 +36,8 @@ module.exports = {
"apiKey": "",
"baseUrl": "https://dashscope.aliyuncs.com/api/v1"
},
// 官方 API 上游地址(转发层目标)
"upstream_api_url": "http://127.0.0.1:8888",
}

View File

@@ -28,7 +28,25 @@ const baseConfig = {
"/sys_file/",
"/api/docs",
"api/swagger.json",
"/api/auth/verify"
"/api/auth/verify",
// 转发层路由白名单(框架不鉴权,由控制器内部做 Token 鉴权)
"/api/admin/",
"/api/applet/",
"/api/equipment/",
"/api/favor/",
"/api/finder/",
"/api/friend/",
"/api/group/",
"/api/label/",
"/api/login/",
"/api/message/",
"/api/other/",
"/api/pay/",
"/api/qy/",
"/api/shop/",
"/api/sns/",
"/api/user/",
"/api/ws/"
]
};

View File

@@ -39,5 +39,8 @@ module.exports = {
"apiKey": "",
"baseUrl": "https://dashscope.aliyuncs.com/api/v1"
},
// 官方 API 上游地址(转发层目标)
"upstream_api_url": "http://127.0.0.1:8888",
}