|
@@ -15,7 +15,7 @@ export const baseURL = 'https://cloud.xyyxt.net/'
|
|
|
export const BASE_IMG_URL = 'https://file.xyyxt.net'
|
|
export const BASE_IMG_URL = 'https://file.xyyxt.net'
|
|
|
const service = axios.create({
|
|
const service = axios.create({
|
|
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
|
|
- baseURL: baseURL,
|
|
|
|
|
|
|
+ baseURL: baseURL,
|
|
|
// 超时
|
|
// 超时
|
|
|
timeout: 600000
|
|
timeout: 600000
|
|
|
})
|
|
})
|