...
|
...
|
@@ -162,7 +162,7 @@ exports.filter = (req, res) => { |
|
|
let params = Object.assign({}, req.query);
|
|
|
|
|
|
saleModel.getFilterData(params).then((result) => {
|
|
|
res.render('filter', {
|
|
|
res.render('sale/filter', {
|
|
|
layout: false,
|
|
|
params: params,
|
|
|
filter: result
|
...
|
...
|
@@ -196,7 +196,7 @@ exports.search = (req, res) => { |
|
|
}, vipObj);
|
|
|
}
|
|
|
|
|
|
res.render('product', Object.assign({
|
|
|
res.render('sale/product', Object.assign({
|
|
|
layout: false,
|
|
|
params: params,
|
|
|
goods: result[0]
|
...
|
...
|
|