Authored by hugufei

召回测试不走缓存

... ... @@ -183,7 +183,7 @@ public class RecallResultController {
private SearchApiResult recallProductList(Map<String, String> paramMap) {
try {
UserRecallRequest userRecallRequest = userRecallRequestBuilder.buildUserRecallRequest(paramMap, 300);
UserRecallResponse userRecallResponse = userRecallRequestResponseService.queryRecallResult(userRecallRequest, false);
UserRecallResponse userRecallResponse = userRecallRequestResponseService.queryRecallResult(userRecallRequest, true);
List<RecallSknInfo> recallSknInfos = userRecallResponse.getSknList();
List<Integer> productSknList = recallSknInfos.stream().map(RecallSknInfo::getProductSkn).collect(Collectors.toList());
List<Map<String, Object>> productInfoList = sknReturnInfoBaseService.queryProductListBySkn(productSknList, productSknList.size());
... ...