diff --git a/ext.json b/ext.json index cb6c532..6b64b8c 100644 --- a/ext.json +++ b/ext.json @@ -3,28 +3,29 @@ "attr": { "imgProxy": [ { - "newUrl": "https://ctest.malls.iformall.com/img", + "newUrl": "https://ciformall.youlane.cn/img", "orgUrl": "https://iformall-net.s3.cn-northwest-1.amazonaws.com.cn" }, { - "newUrl": "https://ctest.malls.iformall.com/img1", + "newUrl": "https://ciformall.youlane.cn/img1", "orgUrl": "https://s3.cn-northwest-1.amazonaws.com.cn" }, { - "newUrl": "https://ctest.malls.iformall.com/img2", + "newUrl": "https://ciformall.youlane.cn/img2", "orgUrl": "https://wx.qlogo.cn" } ], - "configUrl": "https://ctest.malls.iformall.com/C/api", + "configUrl": "https://ciformall.youlane.cn/C/api", "etcpAppId": "wx192b7d2e8dcbefd0", + "socketUrl": "wss://mp.youlane.cn/W/ws", "etcpVersion": "release", - "etcpCallbackUrl": "https://admintest.malls.iformall.com/api/carCallback/etcpPaidCallback", + "etcpCallbackUrl": "https://ciformall.youlane.cn/api/carCallback/etcpPaidCallback", "ifHaveWebSocket": "0", "ifHaveCarModular": "1" }, - "name": "富茂链客", - "weappId": "wx649b3be73c1afe47", - "appVersion": "C.test.5.2.0" + "name": "富茂客官开发", + "weappId": "wxea71200db93d756b", + "appVersion": "C.4.5.106" }, "debug": false, "tabBar": { @@ -60,10 +61,10 @@ "window": { "backgroundTextStyle": "dark", "navigationBarTextStyle": "black", - "navigationBarTitleText": "", - "navigationBarBackgroundColor": "#FFFFFF" + "navigationBarTitleText": "WeChat", + "navigationBarBackgroundColor": "#fff" }, - "extAppid": "wx649b3be73c1afe47", + "extAppid": "wxea71200db93d756b", "extEnable": true, "permission": { "scope.userLocation": { diff --git a/pages/index/index.js b/pages/index/index.js index 012c41c..43f1174 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -173,7 +173,7 @@ Page({ } } // 拼团详情页(只有通过扫码进入才可能进入拼团详情页面,只有这一个入口) - else if (options && options.couponChannelId && app.globalData.type == 'sd' || options && options.couponChannelId && options.spellGroup) { + else if ((options && options.couponChannelId && app.globalData.type == 'sd') || (options && options.couponChannelId && options.spellGroup) ){ wx.redirectTo({ url: `/pages/spellGroup/mySpellGroup/index?couponChannelId=${options.couponChannelId}`, }) diff --git a/project.config.json b/project.config.json index b6bb9ba..cb99eff 100644 --- a/project.config.json +++ b/project.config.json @@ -14,7 +14,7 @@ }, "compileType": "miniprogram", "libVersion": "2.5.0", - "appid": "wxfa336cad86ed598d", + "appid": "wxb11603577a84a86d", "projectname": "C%E7%AB%AF%E5%B0%8F%E7%A8%8B%E5%BA%8F", "isGameTourist": false, "simulatorType": "wechat",