...
|
...
|
@@ -23,8 +23,6 @@ exports.index = (req, res, next) => { |
|
|
udid: require('md5')(req.ip)
|
|
|
};
|
|
|
|
|
|
let gender = req.cookies._Channel || 'boys';
|
|
|
|
|
|
indexModel.index(params).then(result => {
|
|
|
if (result) {
|
|
|
res.render('home', Object.assign(result, {
|
...
|
...
|
@@ -36,7 +34,7 @@ exports.index = (req, res, next) => { |
|
|
pageChannel: {
|
|
|
boys: true
|
|
|
},
|
|
|
showFooterTab: footerModel.getUrlData('mine', gender)
|
|
|
showFooterTab: footerModel.getUrlData('mine')
|
|
|
}));
|
|
|
}
|
|
|
}).catch(next);
|
...
|
...
|
|