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