...
|
...
|
@@ -21,6 +21,7 @@ const Query = { |
|
|
|
|
|
q.page = parseInt(q.page || 1, 10);
|
|
|
q.order = q.order || 's_n_desc';
|
|
|
q.yh_channel = channel;
|
|
|
|
|
|
let retData = {
|
|
|
module: 'product',
|
...
|
...
|
@@ -46,7 +47,7 @@ const Query = { |
|
|
retData.filter = DataHelper.filterHandle(data.filter, q);
|
|
|
retData.filter.showPrice = data.total > 10;
|
|
|
retData.filter.showInfo = (retData.filter.style && retData.filter.style.length > 0)
|
|
|
|| (data.standard && data.standard.length > 0); //eslint-disable-line
|
|
|
|| (data.standard && data.standard.length > 0); //eslint-disable-line
|
|
|
retData.filter.useSmallSort = 1;
|
|
|
}
|
|
|
|
...
|
...
|
|