Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
郭成尧
2018-03-22 16:05:03 +0800
Commit
faaec23d4dbb1c4b82dff2cfa22868fb8d0dc3df
2 parents
6c2c3c2b
7c6512b2
Merge branch 'feature/growthdetail' of git.yoho.cn:fe/yohobuywap-node into feature/growthdetail
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/activity/controllers/grade.js
apps/activity/controllers/grade.js
View file @
faaec23
...
...
@@ -113,7 +113,7 @@ class Grade {
req
.
ctx
(
GradeModel
).
vipIconList
({
uid
}).
then
(
result
=>
{
let
vipNav
=
_
.
filter
(
_
.
get
(
result
,
'data'
,
{}),
{
status
:
1
});
let
id
=
parseInt
(
`
0
$
{
req
.
query
.
id
}
`
,
10
)
||
_
.
get
(
vipNav
,
'[0].id'
,
0
);
let
id
=
parseInt
(
`
0
$
{
req
.
query
.
vr
id
}
`
,
10
)
||
_
.
get
(
vipNav
,
'[0].id'
,
0
);
_
.
each
(
vipNav
,
item
=>
{
if
(
item
.
id
===
id
)
{
...
...
Please
register
or
login
to post a comment