|
|
@@ -4,12 +4,12 @@ export const myRequest = (options) => {
|
|
|
let BASE_URL = uni.getStorageSync('http');
|
|
|
console.log(BASE_URL, 'my request', process.env.NODE_ENV);
|
|
|
if (BASE_URL == '') {
|
|
|
- // BASE_URL =
|
|
|
- // process.env.NODE_ENV === 'development'
|
|
|
- // ? 'https://uat.hnyfwlw.com'
|
|
|
- // : 'http://8.136.98.49:8002';
|
|
|
+ BASE_URL =
|
|
|
+ process.env.NODE_ENV === 'development'
|
|
|
+ ? 'https://uat.hnyfwlw.com'
|
|
|
+ : 'http://8.136.98.49:8002';
|
|
|
// BASE_URL = 'http://192.168.1.107:8000'
|
|
|
- BASE_URL = 'http://218.28.198.186:10508';
|
|
|
+ // BASE_URL = 'http://218.28.198.186:10508';
|
|
|
}
|
|
|
// BASE_URL = config.productAPI;
|
|
|
// BASE_URL = config.developAPI;
|