...
|
...
|
@@ -217,7 +217,7 @@ public class AggProductListService implements ApplicationEventPublisherAware { |
|
|
try {
|
|
|
BrandProductRequest brandProductRequest = buildBrandProductRequest(paramMap, totalViewNum);
|
|
|
BrandProductResponse response = brandProductCacheBean.queryBrandProductResult(brandProductRequest);
|
|
|
JSONObject jsonObject = queryProductList(brandProductRequest, response, totalViewNum);
|
|
|
JSONObject jsonObject = queryProductList(response, totalViewNum);
|
|
|
if (jsonObject == null) {
|
|
|
jsonObject = new JSONObject();
|
|
|
}
|
...
|
...
|
@@ -230,7 +230,7 @@ public class AggProductListService implements ApplicationEventPublisherAware { |
|
|
}
|
|
|
}
|
|
|
|
|
|
private JSONObject queryProductList(BrandProductRequest brandProductRequest, BrandProductResponse response, int totalViewNum) {
|
|
|
private JSONObject queryProductList(BrandProductResponse response, int totalViewNum) {
|
|
|
//3、获取召回结果的skn
|
|
|
List<Integer> productSknList = response.getProductList().stream().map(BrandProduct::getProductSkn).collect(Collectors.toList());
|
|
|
//4、获取商品的返回信息
|
...
|
...
|
|