From 4058f23cc915f458212e6231d63473424a7205b6 Mon Sep 17 00:00:00 2001 From: shuxiaoquan <853623962@qq.com> Date: Mon, 6 May 2024 09:07:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E9=99=86=E5=8F=82=E6=95=B0=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.js | 2 +- ext.json | 4 ++-- manifest.json | 2 +- pages/login/index.vue | 7 +++++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/config.js b/config.js index d0154b4..cef42d9 100644 --- a/config.js +++ b/config.js @@ -15,7 +15,7 @@ export default { * 可在超管后台-商城列表中查看10025 */ - storeId: wx.getExtConfigSync().store_id? wx.getExtConfigSync().store_id : 10048, + storeId: wx.getExtConfigSync().store_id? wx.getExtConfigSync().store_id : 10045, // storeId: 10037, diff --git a/ext.json b/ext.json index d1f4139..11f5b0e 100644 --- a/ext.json +++ b/ext.json @@ -1,7 +1,7 @@ { "extEnable": true, - "extAppid": "wxa3127ed5c3542a28", + "extAppid": "wx9f7e94fe11dc0c23", "ext": { - "store_id": 10048 + "store_id": 10045 } } \ No newline at end of file diff --git a/manifest.json b/manifest.json index e486afc..86bd863 100644 --- a/manifest.json +++ b/manifest.json @@ -92,7 +92,7 @@ "quickapp" : {}, /* 小程序特有相关 */ "mp-weixin" : { - "appid" : "wxa3127ed5c3542a28", + "appid" : "wx9f7e94fe11dc0c23", "libVersion" : "latest", "setting" : { // 是否检查安全域名和 TLS 版本 diff --git a/pages/login/index.vue b/pages/login/index.vue index e7ea512..a817cf1 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -84,8 +84,11 @@ export default { // 获取二维码场景值 const scene = getSceneData(o) // 记录推荐人ID - const refereeId = scene.refereeId ? scene.refereeId : scene.uid - this.refereeId = refereeId + const refereeId = scene.refereeId ? scene.refereeId : (scene.uid?scene.uid:o.refereeId) + this.refereeId = refereeId; + console.log(scene) + console.log(o) + console.log("refereeId",refereeId) }, methods: { toTextPage(n) {