sketch拼贴 获取画布走统一接口
This commit is contained in:
@@ -124,15 +124,8 @@ public class GenerateController {
|
||||
return Response.success(generateResultVO);
|
||||
}
|
||||
|
||||
@ApiOperation(value = "拼贴图画布保存")
|
||||
@GetMapping("/saveReconCanvas")
|
||||
public Response<String> sketchReconstructionSave(@RequestParam("file") MultipartFile file, @RequestParam("projectId") Long projectId){
|
||||
generateService.sketchReconstructionSave(file, projectId);
|
||||
return Response.success("success");
|
||||
}
|
||||
|
||||
@ApiOperation(value = "获取拼贴图画布")
|
||||
@GetMapping("/getReconCanvas")
|
||||
@ApiOperation(value = "获取拼贴图最后一次生成结果")
|
||||
@GetMapping("/getReconLastResult")
|
||||
public Response<SketchReconstructionVO> getSketchReconstruction(@RequestParam("projectId") Long projectId){
|
||||
SketchReconstructionVO sketchReconstruction = generateService.getSketchReconstruction(projectId);
|
||||
return Response.success(sketchReconstruction);
|
||||
|
||||
Reference in New Issue
Block a user