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
1550b395c5b39dee2d3878afb3f1a6e4d115a0d2
1 parent
a8ca9a5e
gender
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
apps/brands/models/brands-service.js
apps/brands/models/brands-service.js
View file @
1550b39
...
...
@@ -129,18 +129,18 @@ exports.plusstarList = (channel, req) => {
brandsHomePage
:
true
};
let
gender
_c
hannel
;
let
gender
C
hannel
;
if
(
channel
===
'boys'
)
{
gender
_c
hannel
=
'1,3'
;
gender
C
hannel
=
'1,3'
;
}
else
if
(
channel
===
'girls'
)
{
gender
_c
hannel
=
'2,3'
;
gender
C
hannel
=
'2,3'
;
}
else
{
gender
_c
hannel
=
'1,2,3'
;
gender
C
hannel
=
'1,2,3'
;
}
let
id
=
req
.
query
.
id
||
''
,
gender
=
req
.
query
.
gender
||
gender
_c
hannel
,
gender
=
req
.
query
.
gender
||
gender
C
hannel
,
limit
=
20
,
page
=
parseInt
(
req
.
query
.
page
,
10
)
||
1
;
...
...
Please
register
or
login
to post a comment