whyclxw
2025-03-13 935e439797c17c9f2d2c9ce8f4ffb39dc7e1b1f4
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);
    }
}