ycm 2 years ago
parent
commit
5373e2f021
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 = 0;//0代表开发模式(本地环境),1代表测试模式(线上测r试环境),2代表线上模式(正式运行环境)
+var projectMode = 1;//0代表开发模式(本地环境),1代表测试模式(线上测r试环境),2代表线上模式(正式运行环境)
 var info = wx.getSystemInfoSync();
 if (info.platform != "devtools" && projectMode == 0) { projectMode = 0 }
 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/' : 'http://127.0.0.1:8000/'),
+    baseAppUrl: projectMode == 2 ? 'https://hx.xishuashua.art/' : (projectMode == 1 ? 'https://wash.nanodreamtech.com/' : 'https://wash.nanodreamtech.com/'),
     location: "",
     token:"",
     nid:0,