whycxzp
12 小时以前 5fd800ce3a0bf46ef9ad3ca865b9cad5c8751a18
src/main/java/com/whyc/controller/DeviceSpareController.java
@@ -62,6 +62,12 @@
        return service.update(spare);
    }
    @PostMapping("andOrChangePicture")
    @ApiOperation("新增或者替换图片")
    public Response andOrChangePicture(@RequestParam Integer id,@RequestParam MultipartFile file) throws IOException {
        return service.andOrChangePicture(id,file);
    }
    @PostMapping("delete")
    @ApiOperation("删除")
    public Response delete(@RequestParam Integer id) {