...
|
...
|
@@ -7,6 +7,11 @@ const processProductList = require(`${global.utils}/beautify/product`); |
|
|
|
|
|
/* 查询最新产品列表 */
|
|
|
exports.getNewData = (params) => {
|
|
|
if (params.hasOwnProperty('priceRange')) {
|
|
|
params.price = params.priceRange;
|
|
|
delete params.priceRange;
|
|
|
}
|
|
|
|
|
|
params = Object.assign({
|
|
|
method: 'app.search.newProduct',
|
|
|
}, params);
|
...
|
...
|
|