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