Authored by 李靖

开关默认值

@@ -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', true); 51 + let recommendHide = _.get(req.app.locals.wap, 'ucenter.removePrefe', 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