|
@@ -3,8 +3,8 @@ import { tansParams } from './common.ts'
|
|
|
// 创建axios实例
|
|
|
const service: any = axios.create({
|
|
|
// axios中请求配置有baseURL选项,表示请求URL公共部分
|
|
|
- baseURL: import.meta.env.PROD ? 'http://gateWay.usky.cn/' : "http://gateWay.usky.cn/",
|
|
|
- // baseURL: import.meta.env.PROD ? 'http://172.16.120.165:13200/' : "http://localhost:13213",
|
|
|
+ // baseURL: import.meta.env.PROD ? 'http://gateWay.usky.cn/' : "http://gateWay.usky.cn/",
|
|
|
+ baseURL: import.meta.env.PROD ? 'http://172.16.120.165:13200/' : "http://172.16.120.165:13200/",
|
|
|
// 超时
|
|
|
timeout: 300000
|
|
|
})
|