Commit c35138c7 by howie

feat:会员卡权限判断

parent 62e4aa15
...@@ -376,12 +376,11 @@ export function themeMemberCardClick(item) { ...@@ -376,12 +376,11 @@ export function themeMemberCardClick(item) {
? JSON.parse(wx.getStorageSync("userInfo")) ? JSON.parse(wx.getStorageSync("userInfo"))
: ""; : "";
// ---------------LLGW客户定制化开始,用户没有会员卡权限,不让其进入会员卡详情 --------------- // ---------------LLGW 客户定制化开始,用户没有会员卡权限,不让其进入会员卡详情 ---------------
let appData = getApp(); let appData = getApp();
console.log("app.globalData.shopInfo.shopCode",appData.globalData.shopInfo.shopCode); console.log("当前商户id",appData.globalData.shopInfo.shopCode);
// this.$store.state.mixid // this.$store.state.mixid
if(appData.globalData.shopInfo.shopCode == 'LLGW') { if(appData.globalData.shopInfo.shopCode == 'LLGW') {
// console.log("当前的店铺",$nuxt.$route.query.mixid);
if(cardData.receiveStatus != 1) { if(cardData.receiveStatus != 1) {
wx.showToast({ title: '非该会员无法查看', icon: "none" }); wx.showToast({ title: '非该会员无法查看', icon: "none" });
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment