Authored by biao

update

... ... @@ -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;
});
};
... ...
... ... @@ -2,7 +2,7 @@
* 系统配置
*
* @author hbomb qiqi.zhou@yoho.cn
z* @date 2016/05/06
* @date 2016/05/06
*/
... ...