ycm 2 years ago
parent
commit
366207059e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app.js

+ 2 - 2
app.js

@@ -1,5 +1,5 @@
 // app.js
-var projectMode = 2;//0代表开发模式(本地环境),1代表测试模式(线上测r试环境),2代表线上模式(正式运行环境)
+var projectMode = 1;//0代表开发模式(本地环境),1代表测试模式(线上测r试环境),2代表线上模式(正式运行环境)
 var info = wx.getSystemInfoSync();
 if (info.platform != "devtools" && projectMode == 0) { projectMode = 1 }
 var envVersion = `${__wxConfig.envVersion}`;//develop	开发版,trial	体验版,release	正式版
@@ -46,7 +46,7 @@ App({
     userInfo: null,
     btnInfo: null,
     status: ['可下单', '服务中', '已满柜', '暂停服务'],
-    baseAppUrl: projectMode == 2 ? 'https://hx.xishuashua.art/' : (projectMode == 1 ? 'https://hx.xishuashua.art/' : 'https://hx.xishuashua.art/'),
+    baseAppUrl: projectMode == 2 ? 'https://hx.xishuashua.art/' : (projectMode == 1 ? 'https://hx.xishuashua.art/' : 'https://wash.nanodreamtech.com/'),
     location: "",
     token:"",
     nid:0,