Authored by zhangxiaoru

new channel

@@ -15,7 +15,7 @@ const helpers = global.yoho.helpers; @@ -15,7 +15,7 @@ const helpers = global.yoho.helpers;
15 15
16 // 新品到着 16 // 新品到着
17 const newGoods = (req, res, next) => { 17 const newGoods = (req, res, next) => {
18 - let channel = req.yoho.channel; 18 + let channel = req.cookies._Channel;
19 19
20 newModel.getNewFocus(channel).then((result) => { 20 newModel.getNewFocus(channel).then((result) => {
21 res.render('new/new', { 21 res.render('new/new', {