...
|
...
|
@@ -50,6 +50,7 @@ const editor = (req, res, next) => { |
|
|
let authorData = datas[0],
|
|
|
articleListData = datas[1];
|
|
|
let build = [];
|
|
|
let name = authorData.data ? authorData.data.name : '';
|
|
|
|
|
|
if (articleListData.data && articleListData.data.list && articleListData.data.list.artList) {
|
|
|
articleListData.data.list.artList.forEach(articleData => {
|
...
|
...
|
@@ -67,9 +68,9 @@ const editor = (req, res, next) => { |
|
|
|
|
|
res.render('index/list', Object.assign({
|
|
|
page: 'index-editor',
|
|
|
title: `潮流编辑${authorData.data.name}|YOHO!BUY有货`,
|
|
|
keywords: `潮流编辑${authorData.data.name}`,
|
|
|
description: `YOHO!BUY有货潮流编辑${authorData.data.name}!`,
|
|
|
title: `潮流编辑${name}|YOHO!BUY有货`,
|
|
|
keywords: `潮流编辑${name}`,
|
|
|
description: `YOHO!BUY有货潮流编辑${name}!`,
|
|
|
guangList: true,
|
|
|
gender: gender,
|
|
|
guang: {
|
...
|
...
|
|