From 961cc2838a832878ed8f506f64a33ce43590be6f Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Sat, 09 May 2026 17:26:18 +0800
Subject: [PATCH] feat:星享购 领取虚拟权益

---
 pages/quanshou/index.vue |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/pages/quanshou/index.vue b/pages/quanshou/index.vue
index a595e44..7e7be52 100644
--- a/pages/quanshou/index.vue
+++ b/pages/quanshou/index.vue
@@ -99,14 +99,18 @@
     toHuiyuan(){
       const _this = this;
       uni.request({
-        url: _this.$webHost+'/api/v2/memberEquity/getUrlByShop/'+uni.getStorageSync('phone'),
+        url: _this.$webHost+'/api/v2/memberEquity/getUrlByShop/'+_this.$util.getUserInfo().phone,
+		data:{
+		  customerId: uni.getStorageSync('ygxLogin').customerId,
+		  appId: uni.getStorageSync('ygxLogin').appId
+		},
         success: function (res) {
           if(res.data.code==200){
             uni.request( {
-              url: _this.$webHost+'/api/v2/memberEquity/clickUrlByShop/'+uni.getStorageSync('phone'),
+              url: _this.$webHost+'/api/v2/memberEquity/clickUrlByShop/'+_this.$util.getUserInfo().phone,
             })
             uni.navigateTo( {
-              url: '/pages/users/web_page/index?webUel=' + encodeURIComponent(res.data.data.url)
+              url: '/pages/web/toUrl?webUel=' + encodeURIComponent(res.data.data.url)
             })
           } else {
             _this.tips = res.data.data || res.data.msg;
@@ -124,7 +128,7 @@
     getTips(){
       const _this = this;
       uni.request({
-        url: _this.$webHost+'/api/v2/shop/findExpressNo?phone='+uni.getStorageSync('phone'),
+        url: _this.$webHost+'/api/v2/shop/findExpressNo?phone='+_this.$util.getUserInfo().phone,
         success: function (res) {
           if(res.data.code==200){
             _this.tips = res.data.data;

--
Gitblit v1.9.3