From d395d2fed08797dbc8628a2f82283493098d23fb Mon Sep 17 00:00:00 2001 From: liriming <1343021927@qq.com> Date: 星期一, 09 九月 2024 08:35:39 +0800 Subject: [PATCH] pre controller --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java index 5a414c1..8e1089c 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java @@ -52,11 +52,11 @@ /** * 管网信息 */ - @GetMapping("/get") - public CommonResult<DmModuleEntity> info(@RequestParam("id") String id){ - DmModuleEntity module = dmModuleService.selectById(id); + @GetMapping("/get/{id}") + public CommonResult<DmModuleEntity> info(@PathVariable("id") String id){ + DmModuleEntity info = dmModuleService.selectById(id); - return success(module); + return success(info); } /** -- Gitblit v1.9.3