소스 검색

全文检索

suxiaoyang 6 년 전
부모
커밋
249203f047
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/main/java/com/yihu/ehr/resource/controller/TextSearchEndPoint.java

+ 3 - 3
src/main/java/com/yihu/ehr/resource/controller/TextSearchEndPoint.java

@ -94,7 +94,7 @@ public class TextSearchEndPoint extends EnvelopRestEndPoint {
        return success(dataList, (int)queryResponse.getResults().getNumFound(), page, size);
    }
    @ApiOperation("获取热搜")
    @ApiOperation(value = "获取热搜")
    @RequestMapping(value = MicroServiceApi.TextSearch.HotWords, method = RequestMethod.GET)
    public List<String> getHotWords(
            @ApiParam(name = "reCount", value = "返回个数", required = true)
@ -105,7 +105,7 @@ public class TextSearchEndPoint extends EnvelopRestEndPoint {
        return hotWords;
    }
    @ApiOperation("更新热搜")
    @ApiOperation(value = "更新热搜")
    @RequestMapping(value = MicroServiceApi.TextSearch.HotWords, method = RequestMethod.POST)
    public boolean updateHotWords(
            @ApiParam(name = "searchText", value = "搜索关键词", required = true)
@ -168,4 +168,4 @@ public class TextSearchEndPoint extends EnvelopRestEndPoint {
        }
        return q.toString();
    }
}
}