diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/LawController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/LawController.java index 7482595..39bd8c3 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/LawController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/home/LawController.java @@ -91,7 +91,7 @@ public class LawController extends BaseController { @ApiOperation("详细") @GetMapping("/view/{specialId}") - public R getUser(@PathVariable String specialId) { + public R view(@PathVariable String specialId) { return R.ok(specialService.selectSysSpecialById(specialId)); }