Authored by 周少峰

Merge branch 'hotfix/sale'

... ... @@ -9,8 +9,6 @@
const mRoot = '../models';
const sale = require(`${mRoot}/sale`); // sale model
const _ = require('lodash');
/**
* sale 首页
* @param {[type]} req [description]
... ... @@ -152,9 +150,6 @@ exports.special = (req, res, next) => {
return next();
}
_.omit(params, 'specialsale_id');
params.productPool = specialId;
sale.getSaleSpecialData(specialId, params, req.yoho.channel).then(result => {
res.render('sale/special', result);
}).catch(next);
... ...