|
|
|
@ -16,8 +16,8 @@ axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'
|
|
|
|
const service = axios.create({
|
|
|
|
const service = axios.create({
|
|
|
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
|
|
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
|
|
|
// baseURL: import.meta.env.VITE_APP_BASE_API,
|
|
|
|
// baseURL: import.meta.env.VITE_APP_BASE_API,
|
|
|
|
// baseURL:'http://118.31.7.2:9868/',
|
|
|
|
baseURL:'http://118.31.7.2:9868/',
|
|
|
|
baseURL:'http://192.168.2.28:9868/',
|
|
|
|
// baseURL:'http://192.168.2.28:9868/',
|
|
|
|
// 超时
|
|
|
|
// 超时
|
|
|
|
timeout: 100000
|
|
|
|
timeout: 100000
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|