TASK: ToProduct Relight Pose新增删除接口

This commit is contained in:
2025-07-16 19:14:41 +08:00
parent 301f58bc62
commit 5b3a52152a
8 changed files with 112 additions and 10 deletions

View File

@@ -146,6 +146,17 @@ public class GenerateController {
return Response.success(generateService.getAllPose());
}
@ApiOperation(value = "删除pose transfer的结果")
@GetMapping("/deleteResult")
public Response<String> deleteToProductRelightResult(@RequestParam("projectId") Long projectId, @RequestParam("id") Long id){
try{
generateService.deleteGeneratedPose(projectId, id);
return Response.success();
}catch (Exception e){
return Response.fail(e.getMessage());
}
}
/*@ApiOperation(value = "万象 t2i 创建异步任务")
@GetMapping("/createAsyncTask")
public Response<String> createAsyncTask(@RequestParam("prompt") String prompt){