Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
biao
9 years ago
Commit
11e97819407dea5b94eb5ffab4dc8a1d354cef76
1 parent
58e1f826
update for content code
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
apps/channel/controllers/index.js
apps/channel/models/index.js
config/channel-type.js
apps/channel/controllers/index.js
View file @
11e9781
/**
* 频道页controller
* @author: 赵彪
* @date: 2016/07/13
*/
'use strict'
;
const
model
=
require
(
'../models'
);
exports
.
index
=
(
req
,
res
)
=>
{
...
...
apps/channel/models/index.js
View file @
11e9781
...
...
@@ -135,8 +135,6 @@ const _getEditorial = d => {
small
:
[]
};
console
.
log
(
d
);
_
.
forEach
(
d
,
(
data
,
index
)
=>
{
if
(
index
===
0
)
{
e
.
big
=
data
;
...
...
config/channel-type.js
View file @
11e9781
...
...
@@ -12,11 +12,11 @@ const channelMap = {
gender
:
'1,3'
},
women
:
{
code
:
'
527079e6c46d0f125eb46b835968971b
'
,
code
:
'
a3a3901627d22fbebc4e74360ed2dacc
'
,
gender
:
'2,3'
},
lifestyle
:
{
code
:
'
94b5ed607b6d565ffc29c2c04be121dc
'
,
code
:
'
2cff34ee8fc290adad8c2029d497eede
'
,
gender
:
''
}
};
...
...
Please
register
or
login
to post a comment