Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hongweigao
8 years ago
Commit
18fd93b2ab17ebacf424f603f64b8c1e94a851d4
1 parent
da9b1665
学生信息判断
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
apps/home/models/user-service.js
apps/home/models/user-service.js
View file @
18fd93b
...
...
@@ -329,8 +329,8 @@ const getUserInfo = (uid) => {
finalResult
.
userPersonalInfo
=
{
subTitle
:
'会员信息'
,
certified
:
parseInt
(
userInfo
.
is_student
,
10
)
===
1
,
tipsUrl
:
parseInt
(
userInfo
.
is_students
,
10
)
===
1
?
certified
:
parseInt
(
userInfo
.
vip_info
.
is_student
,
10
)
===
1
,
tipsUrl
:
parseInt
(
userInfo
.
vip_info
.
is_student
,
10
)
===
1
?
helpers
.
urlFormat
(
'/list'
)
:
helpers
.
urlFormat
(
'/product/students'
),
firstBox
:
true
,
submitId
:
'base-info'
,
...
...
Please
register
or
login
to post a comment