TASK: sketches裁剪;

This commit is contained in:
shahaibo
2023-11-23 15:27:01 +08:00
parent e18a4f78c4
commit 3e3aaa54c4
5 changed files with 57 additions and 5 deletions

View File

@@ -68,4 +68,10 @@ public class DesignController {
return Response.success(designService.dislike(disDesignLikeDTO));
}
@ApiOperation(value = "sketchBoard upload generate design前裁剪")
@PostMapping("/sketchBoardsBoundingBox")
public Response<Boolean> sketchesBoundingBox(@Valid @RequestBody SketchesBoundingBoxDTO sketchesBoundingBoxDTO) {
return Response.success(designService.sketchesBoundingBox(sketchesBoundingBoxDTO));
}
}