whycxzp
2025-03-05 4f47b10db708a73346ac864672d2f36a826230ba
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);
    }
}