Authored by 李靖

removePrefer

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