Authored by 胡古飞

update name

@@ -197,7 +197,7 @@ public class SearchNewController { @@ -197,7 +197,7 @@ public class SearchNewController {
197 @ResponseBody 197 @ResponseBody
198 public SearchApiResult selectionsForApp(HttpServletRequest request) { 198 public SearchApiResult selectionsForApp(HttpServletRequest request) {
199 Map<String, String> paramMap = HttpServletRequestUtils.transParamType(request); 199 Map<String, String> paramMap = HttpServletRequestUtils.transParamType(request);
200 - return selectionsWithOutAdvanceService.getSelectionsWithOutAdvance(paramMap); 200 + return selectionsWithOutAdvanceService.getSelectionsForApp(paramMap);
201 } 201 }
202 202
203 /** 203 /**
@@ -16,7 +16,7 @@ public interface ISelectionsWithOutAdvanceService { @@ -16,7 +16,7 @@ public interface ISelectionsWithOutAdvanceService {
16 * @param paramMap 16 * @param paramMap
17 * @return 17 * @return
18 */ 18 */
19 - public SearchApiResult getSelectionsWithOutAdvance(Map<String, String> paramMap); 19 + public SearchApiResult getSelectionsForApp(Map<String, String> paramMap);
20 20
21 /** 21 /**
22 * 获取所有的聚合列表 22 * 获取所有的聚合列表
@@ -43,7 +43,7 @@ public class SelectionWithOutAdvanceImpl implements ISelectionsWithOutAdvanceSer @@ -43,7 +43,7 @@ public class SelectionWithOutAdvanceImpl implements ISelectionsWithOutAdvanceSer
43 private SearchAfterCacheService searchAfterCacheService; 43 private SearchAfterCacheService searchAfterCacheService;
44 44
45 @Override 45 @Override
46 - public SearchApiResult getSelectionsWithOutAdvance(Map<String, String> paramMap) { 46 + public SearchApiResult getSelectionsForApp(Map<String, String> paramMap) {
47 try { 47 try {
48 // 首先解析参数转化为检索条件--SearchParam 48 // 首先解析参数转化为检索条件--SearchParam
49 SearchParam searchParam = new SearchParam(); 49 SearchParam searchParam = new SearchParam();
@@ -82,7 +82,7 @@ public class SelectionWithOutAdvanceImpl implements ISelectionsWithOutAdvanceSer @@ -82,7 +82,7 @@ public class SelectionWithOutAdvanceImpl implements ISelectionsWithOutAdvanceSer
82 searchCacheService.addJSONObjectToCache(productIndexName, searchParam, dataMap); 82 searchCacheService.addJSONObjectToCache(productIndexName, searchParam, dataMap);
83 return new SearchApiResult().setData(dataMap); 83 return new SearchApiResult().setData(dataMap);
84 } catch (Exception e) { 84 } catch (Exception e) {
85 - return SearchApiResultUtils.errorSearchApiResult("getSelectionsWithOutAdvance", paramMap, e); 85 + return SearchApiResultUtils.errorSearchApiResult("getSelectionsForApp", paramMap, e);
86 } 86 }
87 } 87 }
88 88