Authored by 陈峰

暂时隐藏首页秒杀楼层

@@ -38,17 +38,17 @@ let _channelPage = (req, res, data) => { @@ -38,17 +38,17 @@ let _channelPage = (req, res, data) => {
38 gender: data.gender, 38 gender: data.gender,
39 uid: _.toString(req.user.uid) 39 uid: _.toString(req.user.uid)
40 }).then(result => { 40 }).then(result => {
41 - result.content = [{  
42 - seckill: true,  
43 - data: {  
44 - title: {  
45 - name: '限时秒抢',  
46 - title: '限时秒抢',  
47 - moreUrl: 'http://m.yohobuy.com'  
48 - }  
49 - }  
50 - }].concat(result.content);  
51 - console.log(result.content[9]); 41 + // result.content = [{
  42 + // seckill: true,
  43 + // data: {
  44 + // title: {
  45 + // name: '限时秒抢',
  46 + // title: '限时秒抢',
  47 + // moreUrl: 'http://m.yohobuy.com'
  48 + // }
  49 + // }
  50 + // }].concat(result.content);
  51 + // console.log(result.content[9]);
52 res.render('channel', Object.assign({}, _renderData, data, result)); 52 res.render('channel', Object.assign({}, _renderData, data, result));
53 }); 53 });
54 }; 54 };