From 54cd699cdccd754caa52fc69d40beb874605a43c Mon Sep 17 00:00:00 2001 From: XiaoXinPro 14 IAH5R <568170040@qq.com> Date: Sun, 12 Mar 2023 18:26:18 +0800 Subject: [PATCH] upload --- app.js | 5 +---- ext.json | 12 +++++------- index/index.js | 2 +- pages/getuserinfo/getuserinfo.js | 3 +-- project.config.json | 2 +- 5 files changed, 9 insertions(+), 15 deletions(-) diff --git a/app.js b/app.js index a56173b..b9eb4f3 100644 --- a/app.js +++ b/app.js @@ -100,7 +100,6 @@ App({ if (res.data.mall) { tt.setStorageSync("selectedMall", res.data.mall.tenantId) } - } Http.setToken(res.data.token); that.globalData.token = res.data.token @@ -110,7 +109,7 @@ App({ } }).catch(err => { - console.log(err); + console.log(err, 'getUserInfo'); tt.showModal({ title: '提示', showCancel: false, @@ -127,9 +126,7 @@ App({ } }); }) - }), - }); } }) \ No newline at end of file diff --git a/ext.json b/ext.json index d547379..bd289e8 100644 --- a/ext.json +++ b/ext.json @@ -1,23 +1,21 @@ { "ext": { "attr": { - "configUrl": "https://c.malls.iformall.com/C/api" + "configUrl": "https://ctest.malls.iformall.com/C/api" }, - "name": "吾悦广场", - "weappId": "tt48a23e1fd79d648801" + "name": "富茂券券集团版", + "weappId": "tt620e14b3fd30264101" }, "window": { "backgroundTextStyle": "light", "navigationBarTextStyle": "black", - "navigationBarTitleText": "Mini Program", "navigationBarBackgroundColor": "#fff" }, - "extAppid": "tt48a23e1fd79d648801", + "extAppid": "tt620e14b3fd30264101", "extEnable": true, "directCommit": false, "networkTimeout": { "request": 30000, "downloadFile": 10000 - }, - "requiredPrivateInfos": ["chooseLocation", "getLocation"] + } } \ No newline at end of file diff --git a/index/index.js b/index/index.js index a73f724..88654e6 100644 --- a/index/index.js +++ b/index/index.js @@ -314,7 +314,7 @@ Page({ console.log(obj, "obj") if (obj.linkType == 1) { if (obj.linkUrl == "/pages/game/index") { - this.gotogame() + // this.gotogame() } else { tt.navigateTo({ diff --git a/pages/getuserinfo/getuserinfo.js b/pages/getuserinfo/getuserinfo.js index 9e88270..f078949 100644 --- a/pages/getuserinfo/getuserinfo.js +++ b/pages/getuserinfo/getuserinfo.js @@ -88,7 +88,6 @@ Page({ }) }, onLoad: function (options) { - console.log(app.globalData.skip, app.globalData.skipUrl, app.globalData.type, "跳转地址") var that = this; // options.fromflag == 'coupondetail'; @@ -504,7 +503,7 @@ Page({ }) }).catch(err => { - console.log(err); + console.log(err, 'getUserInfo'); tt.showModal({ title: '提示', showCancel: false, diff --git a/project.config.json b/project.config.json index db9b03c..aaf0cf0 100644 --- a/project.config.json +++ b/project.config.json @@ -32,7 +32,7 @@ "id": 1678428610317, "name": "index/index", "pathName": "pages/main/index", - "query": "type=scanIn&tenantId=1055", + "query": "type=scanIn&tenantId=1032", "scene": "990001", "launchFrom": "scan", "location": "qr_code"