Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
69c048fb
Commit
69c048fb
authored
Apr 13, 2020
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改等级接口
parent
e2db7b17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
personCenter.js
src/component/personCenter/personCenter.js
+5
-4
No files found.
src/component/personCenter/personCenter.js
View file @
69c048fb
...
...
@@ -83,9 +83,10 @@ Component({
baseImgUrl
:
imageUrl
,
isPlusVip
:
isVip
,
currentPlusStyle
:
isVip
?
personData
.
plus
.
filter
(
item
=>
item
.
purchased
==
1
)[
0
]
:
personData
.
plus
.
filter
(
item
=>
item
.
purchased
==
0
)[
0
]
});
this
.
getLevelOpenStatus
();
});
if
(
this
.
data
.
currentHasUserInfo
){
this
.
getLevelOpenStatus
();
}
},
methods
:
{
//获取配置的开关
...
...
@@ -108,7 +109,7 @@ Component({
},
//获取等级列表
getLevelList
(){
wxService
.
post
(
'/merchant/setting
Level/get'
).
then
(
res
=>
{
wxService
.
get
(
'/member/member
Level/get'
).
then
(
res
=>
{
if
(
res
){
let
levelList
=
res
.
data
.
data
?
res
.
data
.
data
:
[];
if
(
levelList
.
length
==
0
){
...
...
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