...
|
...
|
@@ -102,6 +102,7 @@ public class UfoProductListService { |
|
|
|
|
|
@SearchCacheAble(cacheName = "UFO_RECOMMEND_LIST", cacheInMinute = 10)
|
|
|
public SearchApiResult recommendList(Map<String, String> paramMap) {
|
|
|
try {
|
|
|
String query = MapUtils.getString(paramMap, "query");
|
|
|
Integer brandId = MapUtils.getInteger(paramMap, "brand");
|
|
|
Integer midSortId = MapUtils.getInteger(paramMap, "midSort");
|
...
|
...
|
@@ -134,6 +135,10 @@ public class UfoProductListService { |
|
|
}
|
|
|
dataMap.put("total", returnInfoList.size());
|
|
|
return searchApiResult;
|
|
|
} catch (Exception e) {
|
|
|
logger.error(e.getMessage(), e);
|
|
|
return new SearchApiResult().setData(null).setCode(500);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
private void addReturnInfoList(Map<String, String> paramMap, Set<Integer> idList, List<Map<String, Object>> returnInfoList) {
|
...
|
...
|
|