...
|
...
|
@@ -294,20 +294,6 @@ const category = (req, res, next) => { |
|
|
*/
|
|
|
const listNew = (req, res, next) => {
|
|
|
let params = _.assign({}, req.query);
|
|
|
|
|
|
/* 勿修改,唤起 APP 使用 */
|
|
|
let appParams = _.assign({}, req.query, {
|
|
|
title: req.query.title || req.query.sort_name || '',
|
|
|
productPool: req.query.filter_poolId,
|
|
|
actiontype: req.query.actiontype || '1'
|
|
|
});
|
|
|
|
|
|
delete appParams.filter_poolId;
|
|
|
|
|
|
let appPath = 'yohobuy://yohobuy.com/goapp?openby:yohobuy={"action":"go.list","params":' +
|
|
|
JSON.stringify(appParams) +
|
|
|
'}';
|
|
|
|
|
|
let uid = req.user.uid;
|
|
|
|
|
|
// 获取第一页数据做服务端渲染
|
...
|
...
|
@@ -372,7 +358,6 @@ const listNew = (req, res, next) => { |
|
|
firstPageGoods: responseResult || [],
|
|
|
pageFooter: true,
|
|
|
localCss: true,
|
|
|
appPath: appPath,
|
|
|
categoryIntro: categoryIntro
|
|
|
}, seoRenderData));
|
|
|
})().catch(next);
|
...
|
...
|
|