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
陈峰
2018-05-09 13:52:51 +0800
Commit
4e66c345f5854ce73ec5e7d94a265a8b1e746208
2 parents
4433b395
dc57c7b5
Merge branch 'hotfix/channelChoose' into 'gray'
Hotfix/channel choose See merge request
!274
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
apps/channel/models/index.js
apps/channel/models/index.js
View file @
4e66c34
...
...
@@ -1055,10 +1055,10 @@ module.exports = class extends global.yoho.BaseModel {
*/
formatIndexGuideData
(
data
)
{
let
channels
=
{
boys
:
{
gender
:
'1,3'
,
limit
:
1
},
girls
:
{
gender
:
'2,3'
,
limit
:
1
},
lifestyle
:
{
msort
:
10
,
misort
:
'266,280,101,103,259'
,
limit
:
1
},
kids
:
{
msort
:
365
,
limit
:
1
}
boys
:
{
yh_channel
:
1
,
limit
:
1
},
girls
:
{
yh_channel
:
2
,
limit
:
1
},
lifestyle
:
{
yh_channel
:
4
,
limit
:
1
},
kids
:
{
yh_channel
:
3
,
limit
:
1
}
};
let
formatData
=
[];
let
promiseArr
=
[];
...
...
Please
register
or
login
to post a comment