|
@@ -26,6 +26,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
import javax.validation.constraints.Max;
|
|
import javax.validation.constraints.Max;
|
|
import javax.validation.constraints.Min;
|
|
import javax.validation.constraints.Min;
|
|
|
|
+import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
import java.util.Objects;
|
|
import java.util.Objects;
|
|
|
|
|
|
@@ -150,8 +151,8 @@ public class DocManageController {
|
|
@ApiOperation(value = "删除图片")
|
|
@ApiOperation(value = "删除图片")
|
|
@PostMapping("/picture/delete")
|
|
@PostMapping("/picture/delete")
|
|
@ApiResponses({@ApiResponse(code = 200, message = "查询成功", response = Result.class)})
|
|
@ApiResponses({@ApiResponse(code = 200, message = "查询成功", response = Result.class)})
|
|
- public Result deletePicture(@ApiParam(value = "图片ID", required = true) @RequestParam Long paperLibraryId) {
|
|
|
|
- return ResultUtil.ok(paperLibraryService.deletePicture(paperLibraryId));
|
|
|
|
|
|
+ public Result deletePicture(@ApiParam(value = "图片ID", required = true) @RequestParam List<Long> paperLibraryIds) {
|
|
|
|
+ return ResultUtil.ok(paperLibraryService.deletePicture(paperLibraryIds));
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "旋转保存图片")
|
|
@ApiOperation(value = "旋转保存图片")
|