热词获取改为根据数量,传递count获取系统热搜词语

This commit is contained in:
Chopper
2021-07-30 14:27:41 +08:00
parent 6e611d3464
commit 0760c72ef8
6 changed files with 35 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ public class HotWordsManagerController {
@ApiOperation(value = "获取热词")
@GetMapping
public ResultMessage getHotWords() {
return ResultUtil.data(esGoodsSearchService.getHotWords(0, 99));
return ResultUtil.data(esGoodsSearchService.getHotWords(99));
}
@ApiOperation(value = "设置热词")