...
|
...
|
@@ -38,17 +38,17 @@ let _channelPage = (req, res, data) => { |
|
|
gender: data.gender,
|
|
|
uid: _.toString(req.user.uid)
|
|
|
}).then(result => {
|
|
|
result.content = [{
|
|
|
seckill: true,
|
|
|
data: {
|
|
|
title: {
|
|
|
name: '限时秒抢',
|
|
|
title: '限时秒抢',
|
|
|
moreUrl: 'http://m.yohobuy.com'
|
|
|
}
|
|
|
}
|
|
|
}].concat(result.content);
|
|
|
console.log(result.content[9]);
|
|
|
// result.content = [{
|
|
|
// seckill: true,
|
|
|
// data: {
|
|
|
// title: {
|
|
|
// name: '限时秒抢',
|
|
|
// title: '限时秒抢',
|
|
|
// moreUrl: 'http://m.yohobuy.com'
|
|
|
// }
|
|
|
// }
|
|
|
// }].concat(result.content);
|
|
|
// console.log(result.content[9]);
|
|
|
res.render('channel', Object.assign({}, _renderData, data, result));
|
|
|
});
|
|
|
};
|
...
|
...
|
|