From 6b682c53501606e656d4c4812d5a2db1e92a5e74 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期四, 25 四月 2024 22:13:23 +0800 Subject: [PATCH] 修改代码 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZDictController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZDictController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZDictController.java index 86be177..f448c7e 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZDictController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZDictController.java @@ -35,7 +35,7 @@ return zDictService.listAllDict(); } - @GetMapping + @GetMapping("/byId") public AjaxResult getDictById(@PathParam("id")Integer id){ ZDict result = zDictService.getById(id); return AjaxResult.success(result); -- Gitblit v1.9.1