|
@@ -1,5 +1,5 @@
|
|
|
// const BASE_URL = 'https://iot.usky.cn/USKYOF/USKYOF.php/Home/' //(测试域名)
|
|
|
-const BASE_URL = 'http://124.71.174.104:8081/USKYOF/USKYOF.php/Home/' //(测试域名新)
|
|
|
+const BASE_URL = 'http://wx.ewoogi.com:8081/USKYOF/USKYOF.php/Home/' //(测试域名新)
|
|
|
// const BASE_URL='http://https://qhome.usky.cn/USKYOF/USKYOF.php/Home/'
|
|
|
// 同时发送异步代码的次数,防止一次点击中有多次请求,用于处理
|
|
|
let ajaxTimes = 0;
|
|
@@ -36,7 +36,7 @@ export const myRequest = (options) => {
|
|
|
if (notIndexFail2.includes(options.url) && ua.match(
|
|
|
/MicroMessenger/i) == "micromessenger") {
|
|
|
// alert('数据拉取失败,请重新进入公众号')
|
|
|
- // window.location.href = 'http://124.71.174.104:8081/index.html#/pages/index/index';
|
|
|
+ // window.location.href = 'http://wx.ewoogi.com:8081/index.html#/pages/index/index';
|
|
|
} else {
|
|
|
|
|
|
return uni.showToast({
|
|
@@ -60,7 +60,7 @@ export const myRequest = (options) => {
|
|
|
let notIndexFail = ['Index/getDataStatistics', 'Com/getAuthorizationUrl'];
|
|
|
if (notIndexFail.includes(options.url)) {
|
|
|
window.location.href =
|
|
|
- 'http://124.71.174.104:8081/index.html#/pages/index/index';
|
|
|
+ 'http://wx.ewoogi.com:8081/index.html#/pages/index/index';
|
|
|
} else {
|
|
|
uni.showModal({
|
|
|
showCancel: false,
|