|
|
@ -133,7 +133,7 @@ public class AiGenerationController { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Operation(summary = "删除用户上传的图片/视频") |
|
|
@Operation(summary = "删除用户上传的图片/视频") |
|
|
@DeleteMapping("/my/upload/delete") |
|
|
@PostMapping("/my/upload/delete") |
|
|
@Log(module = LogModuleEnum.AI_TASK_MEDIA, value = ActionTypeEnum.DELETE) |
|
|
@Log(module = LogModuleEnum.AI_TASK_MEDIA, value = ActionTypeEnum.DELETE) |
|
|
public Result<Boolean> deleteMyUpload(@RequestParam String uuid) { |
|
|
public Result<Boolean> deleteMyUpload(@RequestParam String uuid) { |
|
|
Long userId = SecurityUtils.getUserId(); |
|
|
Long userId = SecurityUtils.getUserId(); |
|
|
@ -163,7 +163,7 @@ public class AiGenerationController { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Operation(summary = "更新任务可见范围") |
|
|
@Operation(summary = "更新任务可见范围") |
|
|
@PutMapping("/my/task/visibility") |
|
|
@PostMapping("/my/task/visibility") |
|
|
@Log(module = LogModuleEnum.AI_GENERATION_TASK, value = ActionTypeEnum.UPDATE) |
|
|
@Log(module = LogModuleEnum.AI_GENERATION_TASK, value = ActionTypeEnum.UPDATE) |
|
|
public Result<Void> updateTaskVisibility(@Valid @RequestBody AiTaskVisibilityForm form) { |
|
|
public Result<Void> updateTaskVisibility(@Valid @RequestBody AiTaskVisibilityForm form) { |
|
|
Long userId = SecurityUtils.getUserId(); |
|
|
Long userId = SecurityUtils.getUserId(); |
|
|
@ -178,5 +178,5 @@ public class AiGenerationController { |
|
|
IPage<DiscoveryPublicWorkVO> result = aiGenerationService.getPublicDiscoveryFeed(query); |
|
|
IPage<DiscoveryPublicWorkVO> result = aiGenerationService.getPublicDiscoveryFeed(query); |
|
|
return Result.success(result); |
|
|
return Result.success(result); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|