|
@@ -19,14 +19,16 @@ export function request(config) {
|
|
|
//测试接口
|
|
|
// baseURL = "http://192.168.1.143:9010"
|
|
|
baseURL = 'https://test.ke.tubaosoft.com/prod-api';
|
|
|
+ // baseURL = 'https://bs.khzclogistics.com/prod-api';
|
|
|
}
|
|
|
// uEnvProd;生产模式,点击发行
|
|
|
if (process.env.NODE_ENV === 'production') {
|
|
|
// baseURL = "http://192.168.137.1:9010"
|
|
|
//正式接口
|
|
|
- // baseURL = "https://test.tms.tubaosoft.com/prod-api"
|
|
|
- baseURL = 'https://business.khzclogistics.com/prod-api';
|
|
|
+ // baseURL = 'https://test.ke.tubaosoft.com/prod-api';
|
|
|
+ baseURL = 'https://bs.khzclogistics.com/prod-api';
|
|
|
}
|
|
|
+ process.baseURL = baseURL
|
|
|
let newVar = axios.create({
|
|
|
baseURL: baseURL,
|
|
|
timeout: 10000
|