...
|
...
|
@@ -138,6 +138,8 @@ public class UfoProductListService { |
|
|
paramMap.remove("midSort");
|
|
|
this.addReturnInfoList(paramMap, idList, returnInfoList, RECOMMEND_LIMIT);
|
|
|
}
|
|
|
// 添加自定义标签
|
|
|
customizeTagBaseService.fillCustomizeTag(returnInfoList, false);
|
|
|
dataMap.put("total", returnInfoList.size());
|
|
|
return searchApiResult;
|
|
|
} catch (Exception e) {
|
...
|
...
|
@@ -178,6 +180,9 @@ public class UfoProductListService { |
|
|
paramMap.put("brand", brandId.toString());
|
|
|
this.addReturnInfoList(paramMap, idList, returnInfoList, RECOMMEND_BY_SERIES_BRAND_LIMIT);
|
|
|
}
|
|
|
// 添加自定义标签
|
|
|
customizeTagBaseService.fillCustomizeTag(returnInfoList,false);
|
|
|
|
|
|
dataMap.put("total", returnInfoList.size());
|
|
|
return searchApiResult;
|
|
|
} catch (Exception e) {
|
...
|
...
|
@@ -186,7 +191,6 @@ public class UfoProductListService { |
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
private void addReturnInfoList(Map<String, String> paramMap, Set<Integer> idList, List<Map<String, Object>> returnInfoList, int limit) {
|
|
|
SearchApiResult searchApiResult = this.productList(paramMap);
|
|
|
if (searchApiResult.getData() == null) {
|
...
|
...
|
|