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
Plain Diff
Browse Files
Authored by
周少峰
2016-08-29 12:44:16 +0800
Commit
db0927a1a08803987a5d649f8070200576fe57ed
2 parents
dde51868
6c6a4576
Merge branch 'feature/students' into release/4.9.1.0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/product/controllers/students.js
apps/product/controllers/students.js
View file @
db0927a
...
...
@@ -23,7 +23,7 @@ exports.index = (req, res, next) => {
studentsModel
.
getStudentsData
(
channel
,
req
).
then
(
result
=>
{
if
(
'isStudent'
in
req
.
user
&&
req
.
user
.
isStudent
===
1
)
{
if
(
'isStudent'
in
req
.
user
&&
parseInt
(
req
.
user
.
isStudent
,
10
)
===
1
)
{
result
.
realData
.
verifyRusult
=
{
isStudent
:
true
};
}
...
...
Please
register
or
login
to post a comment