|
|
@@ -16,6 +16,10 @@ instance.interceptors.request.use(
|
|
|
// 确保每个请求都带上cookie
|
|
|
config.withCredentials = true
|
|
|
|
|
|
+ if (url.includes('https://gpt4.cocorobo.cn') || url.includes('https://appapi.cocorobo.cn')) {
|
|
|
+ config.withCredentials = false
|
|
|
+ }
|
|
|
+
|
|
|
// 需要 form-urlencoded 且 data 为数组的情况
|
|
|
if (
|
|
|
config.method === 'post' &&
|