...
|
...
|
@@ -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);
|
...
|
...
|
|