...
|
...
|
@@ -48,7 +48,7 @@ exports.index = (req, res, next) => { |
|
|
|
|
|
req.ctx(newHomeModel).index(params).then(result => {
|
|
|
// 为你优选开关
|
|
|
let recommendHide = _.get(req.app.locals.wap, 'ucenter.removePrefe', true);
|
|
|
let recommendHide = _.get(req.app.locals.wap, 'ucenter.removePrefe', false);
|
|
|
|
|
|
res.render('new-home', Object.assign(responseData, result, {
|
|
|
recommendHide: recommendHide
|
...
|
...
|
|