|
@@ -1,9 +1,11 @@
|
|
|
-// const BASE_URL = 'https://iot.usky.cn/USKYOF/USKYOF.php/Home/' //(测试域名)
|
|
|
-const BASE_URL = 'https://wx.ewoogi.com/USKYOF/USKYOF.php/Home/' //(正式域名新)
|
|
|
-const websiteUrl = 'https://wx.ewoogi.com'
|
|
|
|
|
|
-// const websiteUrl = 'https://wx.ewoogi.com'
|
|
|
-// const BASE_URL='http://https://wx.ewoogi.com/USKYOF/USKYOF.php/Home/'
|
|
|
+
|
|
|
+/** qhome.usky.cn测试域名 wx.ewoogi.com 正式域名 **/
|
|
|
+
|
|
|
+const BASE_URL = 'https://qhome.usky.cn/USKYOF/USKYOF.php/Home/'
|
|
|
+const websiteUrl = 'https://qhome.usky.cn'
|
|
|
+
|
|
|
+
|
|
|
// 同时发送异步代码的次数,防止一次点击中有多次请求,用于处理
|
|
|
let ajaxTimes = 0;
|
|
|
|
|
@@ -62,7 +64,7 @@ function myRequest(options){
|
|
|
let notIndexFail = ['Index/getDataStatistics', 'Com/getAuthorizationUrl'];
|
|
|
if (notIndexFail.includes(options.url)) {
|
|
|
window.location.href =
|
|
|
- 'https://wx.ewoogi.com/wx/index.html#/pages/index/index';
|
|
|
+ 'https://qhome.usky.cn/wx/index.html#/pages/index/index';
|
|
|
} else {
|
|
|
uni.showModal({
|
|
|
showCancel: false,
|