...
|
...
|
@@ -579,13 +579,13 @@ public class ProductSearchServiceImpl implements ProductSearchService { |
|
|
*/
|
|
|
public JSONObject searchSecondSaleProductList(ProductSearchReq req) {
|
|
|
|
|
|
String hasSecondHandSorts = configReader.getString(ProductConstants.SECONDHANDSORTS_ZK_CONFIG, "40"); // 通过配置品类 来限制哪些品类可以二手发布
|
|
|
String hasSecondHandSorts = configReader.getString(ProductConstants.SECONDHANDSORTS_ZK_CONFIG,
|
|
|
ProductConstants.SECONDHANDSORTS_INIT_CONFIG); // 通过配置品类 来限制哪些品类可以二手发布
|
|
|
req.setMaxSort(hasSecondHandSorts);
|
|
|
|
|
|
SearchParam searchParam = new SearchParam().buildPageSearchParam(req).setShowChannel(req.getBusinessClient());
|
|
|
String url = ProductSearchConstants.PRODUCT_SEARCH_QUERY_URL;
|
|
|
|
|
|
JSONObject data = searchAssistService.search(searchParam.getParam(), url);
|
|
|
JSONObject data = searchAssistService.search(searchParam.getParam(), ProductSearchConstants.PRODUCT_SEARCH_QUERY_URL);
|
|
|
if (null != data) {
|
|
|
searchAssistService.processProductList(data.getJSONArray("product_list"));
|
|
|
searchAssistService.setRecId(data);
|
...
|
...
|
|