From 6a4d1050424c2cdc9064334d96b1eace2f9c082b Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Fri, 22 May 2026 17:11:53 +0800
Subject: [PATCH] feat:星享购 会员权益

---
 pages/my/my.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/pages/my/my.vue b/pages/my/my.vue
index e25ea2d..a0e794d 100644
--- a/pages/my/my.vue
+++ b/pages/my/my.vue
@@ -70,15 +70,15 @@
 							<image src="/static/imgs/right.png" mode=""></image>
 						</view>
 					</template>
-					<!-- <view class="mySerCon-v" @tap="toHuishou" >
+					<view class="mySerCon-v" @tap="toHuishou"  v-if="isShop">
 						<view class="mySerCon-l">
-						  <template v-if="isShop">
+						  <template>
 							<image src="/static/imgs/quanshou.png" mode="widthFix"></image>
 							<text>会员权收</text>
 						  </template>
 						</view>
 						<image src="/static/imgs/right.png" mode=""></image>
-					</view> -->
+					</view>
 				</view>
 			</view>
 			
@@ -149,7 +149,7 @@
 			  const _this = this;
 			  if(_this.$util.getUserInfo()?.phone){
 				uni.request({
-				  url: _this.$webHost+'/api/v2/auth/qxgIosUnionLogin?phone='+_this.$util.getUserInfo().phone,
+				  url: _this.$webHost+'/api/v2/auth/iosShopUnionLogin?phone='+_this.$util.getUserInfo().phone + '&configureToDomain=11',
 				  data:{
 					customerId: uni.getStorageSync('ygxLogin').customerId,
 					appId: uni.getStorageSync('ygxLogin').appId
@@ -161,6 +161,8 @@
 					console.log('res',res)
 				  }
 				})
+			  } else {
+				  _this.isShop = false
 			  }
 		},
 		methods: {

--
Gitblit v1.9.3