...
|
...
|
@@ -96,6 +96,13 @@ const _processClassNames = (list) => { |
|
|
const _searchGoods = (params) => {
|
|
|
let method = 'app.search.li';
|
|
|
|
|
|
// 排除基本筛选项默认值为0的对象
|
|
|
for (let str in params) {
|
|
|
if (str !== 'order' && params[str] === '0' || params[str] === null) {
|
|
|
delete params[str];
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/* tar add 160823 店铺销售类目 */
|
|
|
if (params.filter_poolId) {
|
|
|
method = 'app.search.pool';
|
...
|
...
|
@@ -111,13 +118,6 @@ const _searchGoods = (params) => { |
|
|
method = 'app.search.brand';
|
|
|
}
|
|
|
|
|
|
// 排除基本筛选项默认值为0的对象
|
|
|
for (let str in params) {
|
|
|
if (str !== 'order' && params[str] === '0' || params[str] === null) {
|
|
|
delete params[str];
|
|
|
}
|
|
|
}
|
|
|
|
|
|
if (params.channel) {
|
|
|
params.yh_channel = searchProcess.getChannelType(params.channel);
|
|
|
delete params.channel;
|
...
|
...
|
|