...
|
...
|
@@ -47,6 +47,7 @@ const editor = (req, res, next) => { |
|
|
|
|
|
if (articleListData.data && articleListData.data.list && articleListData.data.list.artList) {
|
|
|
articleListData.data.list.artList.forEach(articleData => {
|
|
|
articleData.reqPath = `${req.path}?id=${id}`;
|
|
|
build.push(guangProcess.formatArticle(articleData, true, isApp, false, uid));
|
|
|
});
|
|
|
res.render('index/list', Object.assign({
|
...
|
...
|
@@ -194,11 +195,10 @@ const tag = (req, res, next) => { |
|
|
gender: req.query.gender || '1,3',
|
|
|
uid: req.user.uid || req.query.uid || 0,
|
|
|
udid: req.sessionID,
|
|
|
type: req.query.type || 0
|
|
|
|
|
|
type: req.query.type || 0,
|
|
|
path: req.path
|
|
|
};
|
|
|
|
|
|
|
|
|
responseData.pageHeader.navTitle = param.tag || '标签';
|
|
|
|
|
|
|
...
|
...
|
|