Authored by 胡古飞

update name

... ... @@ -197,7 +197,7 @@ public class SearchNewController {
@ResponseBody
public SearchApiResult selectionsForApp(HttpServletRequest request) {
Map<String, String> paramMap = HttpServletRequestUtils.transParamType(request);
return selectionsWithOutAdvanceService.getSelectionsWithOutAdvance(paramMap);
return selectionsWithOutAdvanceService.getSelectionsForApp(paramMap);
}
/**
... ...
... ... @@ -16,7 +16,7 @@ public interface ISelectionsWithOutAdvanceService {
* @param paramMap
* @return
*/
public SearchApiResult getSelectionsWithOutAdvance(Map<String, String> paramMap);
public SearchApiResult getSelectionsForApp(Map<String, String> paramMap);
/**
* 获取所有的聚合列表
... ...
... ... @@ -43,7 +43,7 @@ public class SelectionWithOutAdvanceImpl implements ISelectionsWithOutAdvanceSer
private SearchAfterCacheService searchAfterCacheService;
@Override
public SearchApiResult getSelectionsWithOutAdvance(Map<String, String> paramMap) {
public SearchApiResult getSelectionsForApp(Map<String, String> paramMap) {
try {
// 首先解析参数转化为检索条件--SearchParam
SearchParam searchParam = new SearchParam();
... ... @@ -82,7 +82,7 @@ public class SelectionWithOutAdvanceImpl implements ISelectionsWithOutAdvanceSer
searchCacheService.addJSONObjectToCache(productIndexName, searchParam, dataMap);
return new SearchApiResult().setData(dataMap);
} catch (Exception e) {
return SearchApiResultUtils.errorSearchApiResult("getSelectionsWithOutAdvance", paramMap, e);
return SearchApiResultUtils.errorSearchApiResult("getSelectionsForApp", paramMap, e);
}
}
... ...