From 12d9277646a5eeafc20f18c6bb4ea8a855d4e2c1 Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期二, 23 七月 2024 15:48:36 +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