From 4e0147ac43533a4dc99f86d443618a4959c28162 Mon Sep 17 00:00:00 2001 From: whycxzp <perryhsu@163.com> Date: 星期二, 04 七月 2023 12:14:53 +0800 Subject: [PATCH] 邮件用户查询更新 --- src/main/java/com/whyc/controller/MailUserController.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/whyc/controller/MailUserController.java b/src/main/java/com/whyc/controller/MailUserController.java index d947ccb..deacb97 100644 --- a/src/main/java/com/whyc/controller/MailUserController.java +++ b/src/main/java/com/whyc/controller/MailUserController.java @@ -7,6 +7,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; @RequestMapping("mailUser") @@ -19,7 +20,7 @@ @GetMapping @ApiOperation("鏌ヨ鎵�鏈夌敤鎴�") - public Response getAll(){ - return service.getAll(); + public Response getAll(@RequestParam int type){ + return service.getAll(type); } } -- Gitblit v1.9.1