whycxzp
2023-12-08 e9d5503ee1a17a3a2c9b0b9880b711a4a62061d8
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);
    }
}