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
biao
9 years ago
Commit
262ee9c3bea994e2679446cc1fa775d272a8b940
1 parent
670f7d5c
update
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
apps/channel/models/index.js
config/common.js
apps/channel/models/index.js
View file @
262ee9c
...
...
@@ -86,7 +86,7 @@ const getNewReportFloorData = data => {
return
list
;
};
const
requestContent
=
(
type
)
=>
{
const
requestContent
=
type
=>
{
let
data
=
sign
.
apiSign
({
/* eslint-disable */
client_type
:
'web'
,
...
...
@@ -100,8 +100,8 @@ const requestContent = (type) => {
return
serviceApi
.
get
(
'/operations/api/v5/resource/home'
,
data
);
};
exports
.
getContent
=
(
type
)
=>
{
// boys, girls, kids, lifestyle
exports
.
getContent
=
type
=>
{
return
Promise
.
all
([
headerModel
.
requestHeaderData
(),
requestContent
(
type
)]).
then
(
res
=>
{
let
headerData
=
res
[
0
].
data
,
contentData
=
res
[
1
].
data
;
...
...
@@ -109,7 +109,7 @@ exports.getContent = (type) => {
let
data
=
{};
data
=
headerModel
.
setHeaderData
(
headerData
,
'boys'
);
data
=
headerModel
.
setHeaderData
(
headerData
,
type
);
data
.
module
=
'channel'
;
data
.
page
=
'boys'
;
data
.
footerTop
=
true
;
...
...
@@ -126,7 +126,6 @@ exports.getContent = (type) => {
};
return
data
;
});
};
...
...
config/common.js
View file @
262ee9c
...
...
@@ -2,7 +2,7 @@
* 系统配置
*
* @author hbomb qiqi.zhou@yoho.cn
z
* @date 2016/05/06
* @date 2016/05/06
*/
...
...
Please
register
or
login
to post a comment