Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
c35138c7
Commit
c35138c7
authored
Apr 13, 2023
by
howie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:会员卡权限判断
parent
62e4aa15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/utils/mayi.js
+2
-3
No files found.
src/utils/mayi.js
View file @
c35138c7
...
...
@@ -376,12 +376,11 @@ export function themeMemberCardClick(item) {
?
JSON
.
parse
(
wx
.
getStorageSync
(
"userInfo"
))
:
""
;
// ---------------LLGW客户定制化开始,用户没有会员卡权限,不让其进入会员卡详情 ---------------
// ---------------LLGW
客户定制化开始,用户没有会员卡权限,不让其进入会员卡详情 ---------------
let
appData
=
getApp
();
console
.
log
(
"
app.globalData.shopInfo.shopCode
"
,
appData
.
globalData
.
shopInfo
.
shopCode
);
console
.
log
(
"
当前商户id
"
,
appData
.
globalData
.
shopInfo
.
shopCode
);
// this.$store.state.mixid
if
(
appData
.
globalData
.
shopInfo
.
shopCode
==
'LLGW'
)
{
// console.log("当前的店铺",$nuxt.$route.query.mixid);
if
(
cardData
.
receiveStatus
!=
1
)
{
wx
.
showToast
({
title
:
'非该会员无法查看'
,
icon
:
"none"
});
return
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment