From c6bddd39c91f2d411316a78ed27b466488c2a39e Mon Sep 17 00:00:00 2001 From: peng <peng.com> Date: 星期二, 30 九月 2025 17:38:39 +0800 Subject: [PATCH] 店铺扫码领取抽奖机会 --- pages/product/goods.vue | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/pages/product/goods.vue b/pages/product/goods.vue index f6eca6c..f44ad0c 100644 --- a/pages/product/goods.vue +++ b/pages/product/goods.vue @@ -572,6 +572,13 @@ this.actionParam.shareId = options.shareId; this.actionParam.joinType = 'SHARE' console.log('瑙﹀彂onLoad') + uni.setStorage({ + key: 'shareId', + data: options.shareId, + success: function () { + console.log('缂撳瓨shareId鎴愬姛'); + } + }); } this.actionParam.pageParams = JSON.stringify(options) if(options.q){ @@ -620,6 +627,7 @@ getSessionId().then(res=>{ this.pageSessionNo = res.data.data this.actionParam.sessionId = this.pageSessionNo + this.actionParam.sessionId = res.data.data if(this.pageSessionNo){ let param = Object.assign({}, this.actionParam); userAction(param) -- Gitblit v1.8.0