...
|
...
|
@@ -9,6 +9,8 @@ |
|
|
const mRoot = '../models';
|
|
|
const sale = require(`${mRoot}/sale`); // sale 页 model
|
|
|
|
|
|
const _ = require('lodash');
|
|
|
|
|
|
/**
|
|
|
* sale 首页
|
|
|
* @param {[type]} req [description]
|
...
|
...
|
@@ -150,6 +152,9 @@ 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);
|
...
|
...
|
|