|
@@ -102,18 +102,10 @@ let requestLoading = (url, method, params) => {
|
|
})
|
|
})
|
|
};
|
|
};
|
|
|
|
|
|
-
|
|
|
|
-// const TestSrv = process.env.NODE_ENV == 'production' ? 'http://39.97.239.116:8080' : '/api';
|
|
|
|
-// const StanleyLocal = process.env.NODE_ENV == 'production' ? 'http://zngapi.hemadj.com:8080' : '/api';
|
|
|
|
-//const StanleyLocal = process.env.NODE_ENV == 'production' ? 'http://192.168.1.200:8080' : '/api';
|
|
|
|
-// const StanleyLocal = process.env.NODE_ENV == 'production' ? 'https://apizng.eavic.com' : '/api';
|
|
|
|
-// const StanleyLocal = process.env.NODE_ENV == 'production' ? 'http://39.97.239.116:8080' : '/api';
|
|
|
|
-
|
|
|
|
-// const Prefix = StanleyLocal;
|
|
|
|
-// const Prefix = 'http://192.168.1.195:8080/';
|
|
|
|
-
|
|
|
|
const Prefix = 'http://192.168.1.195/mobile/index.php?';
|
|
const Prefix = 'http://192.168.1.195/mobile/index.php?';
|
|
// const Prefix = 'https://www.xyzshops.cn/mobile/index.php?';
|
|
// const Prefix = 'https://www.xyzshops.cn/mobile/index.php?';
|
|
|
|
+// 椰子临时线上地址
|
|
|
|
+// const Prefix = 'http://121.89.196.45/mobile/index.php?';
|
|
|
|
|
|
// 临时
|
|
// 临时
|
|
// const Prefix = 'https://39.103.134.17/mobile/index.php?';
|
|
// const Prefix = 'https://39.103.134.17/mobile/index.php?';
|
|
@@ -302,7 +294,10 @@ export const updateVoucher = (name) => {
|
|
method: "post",
|
|
method: "post",
|
|
url: `http://192.168.1.195/upfile.php`,
|
|
url: `http://192.168.1.195/upfile.php`,
|
|
// url: `https://www.xyzshops.cn/upfile.php`,
|
|
// url: `https://www.xyzshops.cn/upfile.php`,
|
|
|
|
+ // 琳珠
|
|
// url: `http://121.89.212.167/upfile.php`,
|
|
// url: `http://121.89.212.167/upfile.php`,
|
|
|
|
+ // 椰子
|
|
|
|
+ // url: `http://121.89.196.45/upfile.php`,
|
|
// withCredentials: true,
|
|
// withCredentials: true,
|
|
data: name,
|
|
data: name,
|
|
timeout: 120000,
|
|
timeout: 120000,
|