From ae9584e320c612b1bf9f32f327a5fcb4fc8fa3d8 Mon Sep 17 00:00:00 2001
From: whycxzp <perryhsu@163.com>
Date: 星期三, 05 七月 2023 10:02:07 +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