...
|
...
|
@@ -87,11 +87,11 @@ public class SortSceneService extends AbstractSceneService { |
|
|
this.addParamsToParamMap(paramMap);
|
|
|
CompletableFuture<SearchApiResult> productListFuture = null;
|
|
|
// 2、获取商品列表
|
|
|
if(!"13420925".equals(this.getuid(paramMap))){
|
|
|
//if(!"13420925".equals(this.getuid(paramMap))){
|
|
|
productListFuture = CompletableFuture.supplyAsync(() -> sceneProductListService.productList(this.newParamMap(paramMap)),executorService);
|
|
|
}else{
|
|
|
productListFuture = CompletableFuture.supplyAsync(() -> sortRecallSceneService.productList(this.newParamMap(paramMap)),executorService);
|
|
|
}
|
|
|
//}else{
|
|
|
// productListFuture = CompletableFuture.supplyAsync(() -> sortRecallSceneService.productList(this.newParamMap(paramMap)),executorService);
|
|
|
//}
|
|
|
// 3、获取聚合结果
|
|
|
CompletableFuture<SearchApiResult> standardsFuture = CompletableFuture.supplyAsync(() -> productIndexService.aggStandard(this.newParamMap(paramMap)),executorService);
|
|
|
CompletableFuture<SearchApiResult> customizeTagFuture = CompletableFuture.supplyAsync(() -> productIndexService.aggCustomizeTag(this.newParamMap(paramMap)),executorService);
|
...
|
...
|
|