forked from natuka/web.puabadge.com
修改:新增抖音下单页面
This commit is contained in:
1 parent
024c8a5155
commit
73971e4a08
38 files changed
+14447
-35505
No files matched your search
@@ -14,7 +14,8 @@ export const REQUEST_TOKEN_KEY = 'Authorization'
|
||||
const request = axios.create({
|
||||
// API 请求的默认前缀
|
||||
baseURL: process.env.VUE_APP_API_BASE_URL,
|
||||
timeout: 6000, // 请求超时时间
|
||||
// 上传/生图等接口常超过 6s;过短会导致旧业务也误超时
|
||||
timeout: 30000,
|
||||
})
|
||||
|
||||
export type RequestError = AxiosError<{
|
||||
|
||||
@@ -14,7 +14,8 @@ export const REQUEST_TOKEN_KEY = 'Authorization'
|
||||
const requestWx = axios.create({
|
||||
// API 请求的默认前缀
|
||||
baseURL: process.env.VUE_APP_API_WX_URL,
|
||||
timeout: 6000, // 请求超时时间
|
||||
// 与 request.ts 保持一致,避免微信相关接口过早超时
|
||||
timeout: 30000,
|
||||
})
|
||||
|
||||
export type RequestError = AxiosError<{
|
||||
|
||||
Reference in new issue
Block a user