BUGFIX:Batch generation 创建时允许projectId为空

This commit is contained in:
2025-06-25 14:10:24 +08:00
parent 252cd0a69c
commit de65f78e89

View File

@@ -193,7 +193,7 @@ public class SavedCollectionController {
@ApiOperation(value = "toProductImageElementUpload")
@PostMapping("/toProductImageElementUpload")
public Response<ToProductElementVO> toProductImageElementUpload(@RequestParam("file") MultipartFile file, @RequestParam(value = "projectId") Long projectId) {
public Response<ToProductElementVO> toProductImageElementUpload(@RequestParam("file") MultipartFile file, @RequestParam(value = "projectId", required = false) Long projectId) {
return Response.success(userLikeGroupService.toProductImageElementUpload(file, projectId));
}