From 72e403e0568e8f51d8d6978af27b945ce04a9a96 Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Mon, 8 Apr 2024 14:05:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=91=BC=E5=87=BA=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=B6=E9=97=B4=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/web/controller/home/HomeController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)