Authored by ccbikai

Merge branch 'feature/sale' into release/4.8

... ... @@ -73,7 +73,10 @@ let index = (req, res, next) => {
});
// 此处 channel 需要读取 cookies 的 channel
req.cookies._Channel && (res.locals.pageChannel[req.cookies._Channel] = true);
if (req.cookies._Channel) {
res.locals.pageChannel = {};
res.locals.pageChannel[req.cookies._Channel] = true;
}
res.render('sale/index', Object.assign(params.renderData, {
content: result,
floorHeader: {
... ...