|
@@ -92,7 +92,10 @@ exports.getListData = (params, channel) => { |
|
@@ -92,7 +92,10 @@ exports.getListData = (params, channel) => { |
92
|
totalCount: result[2].data.total,
|
92
|
totalCount: result[2].data.total,
|
93
|
footPager: searchHandler.handlePagerData(result[2].data.total, params),
|
93
|
footPager: searchHandler.handlePagerData(result[2].data.total, params),
|
94
|
goods: productProcess.processProductList(result[2].data.product_list,
|
94
|
goods: productProcess.processProductList(result[2].data.product_list,
|
95
|
- Object.assign({showDiscount: false}, params))
|
95
|
+ Object.assign({showDiscount: false}, params)),
|
|
|
96
|
+
|
|
|
97
|
+ // 最近浏览记录
|
|
|
98
|
+ latestWalk: 7,
|
96
|
});
|
99
|
});
|
97
|
}
|
100
|
}
|
98
|
|
101
|
|
|
@@ -153,7 +156,10 @@ exports.getListNewData = (params, channel) => { |
|
@@ -153,7 +156,10 @@ exports.getListNewData = (params, channel) => { |
153
|
totalCount: result[2].data.total,
|
156
|
totalCount: result[2].data.total,
|
154
|
footPager: searchHandler.handlePagerData(result[2].data.total, params),
|
157
|
footPager: searchHandler.handlePagerData(result[2].data.total, params),
|
155
|
goods: productProcess.processProductList(result[2].data.product_list,
|
158
|
goods: productProcess.processProductList(result[2].data.product_list,
|
156
|
- Object.assign({showDiscount: false}, params))
|
159
|
+ Object.assign({showDiscount: false}, params)),
|
|
|
160
|
+
|
|
|
161
|
+ // 最近浏览记录
|
|
|
162
|
+ latestWalk: 7,
|
157
|
});
|
163
|
});
|
158
|
}
|
164
|
}
|
159
|
|
165
|
|
|
@@ -239,7 +245,10 @@ exports.getBrandData = (params, extra, channel) => { |
|
@@ -239,7 +245,10 @@ exports.getBrandData = (params, extra, channel) => { |
239
|
totalCount: result[2].data.total,
|
245
|
totalCount: result[2].data.total,
|
240
|
footPager: searchHandler.handlePagerData(result[2].data.total, params),
|
246
|
footPager: searchHandler.handlePagerData(result[2].data.total, params),
|
241
|
goods: productProcess.processProductList(result[2].data.product_list,
|
247
|
goods: productProcess.processProductList(result[2].data.product_list,
|
242
|
- Object.assign({showDiscount: false}, params))
|
248
|
+ Object.assign({showDiscount: false}, params)),
|
|
|
249
|
+
|
|
|
250
|
+ // 最近浏览记录
|
|
|
251
|
+ latestWalk: 7,
|
243
|
});
|
252
|
});
|
244
|
}
|
253
|
}
|
245
|
|
254
|
|