diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/HomeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/HomeController.java index f5c4f3b..fa4b66b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/HomeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/HomeController.java @@ -25,7 +25,7 @@ import java.util.Objects; /** - * 首页 + * 知识库查询 * @author wangxy */ @Controller @@ -40,14 +40,14 @@ public class HomeController { public static final String PAGE_SIZE = "15"; - @ApiOperation("首页门户") + @ApiOperation("知识库查询") @GetMapping("/home") public String home(ModelMap mmap, @RequestParam(required = false) Integer categoryid, @RequestParam(required = false) String kname, @RequestParam(required = false, defaultValue = "1", value = "p") Integer pageNum, @RequestParam(required = false ,defaultValue = PAGE_SIZE, value = "ps") Integer pageSize) { - //最新通知 + //知识库查询 PageMethod.startPage(pageNum,pageSize); List list = contentService.lambdaQuery() .eq(Objects.nonNull(categoryid), KContent::getCategoryid, categoryid)