【优化】优化 midjourney 注释

This commit is contained in:
cherishsince 2024-05-31 17:06:41 +08:00
parent 56e8707e38
commit c1f2e49066

View File

@ -61,12 +61,6 @@ public class AiImageController {
return success(aiImageService.dall(getLoginUserId(), req));
}
@Operation(summary = "midjourney-imagine 绘画", description = "...")
@PostMapping("/midjourney/imagine")
public CommonResult<Long> midjourneyImagine(@Validated @RequestBody AiImageMidjourneyImagineReqVO req) {
return success(aiImageService.midjourneyImagine(getLoginUserId(), req));
}
@Operation(summary = "删除【我的】绘画记录")
@DeleteMapping("/delete-id-my")
@Parameter(name = "id", required = true, description = "绘画编号", example = "1024")
@ -74,6 +68,14 @@ public class AiImageController {
return success(aiImageService.deleteIdMy(id, getLoginUserId()));
}
// ================ midjourney 接口
@Operation(summary = "midjourney-imagine 绘画", description = "...")
@PostMapping("/midjourney/imagine")
public CommonResult<Long> midjourneyImagine(@Validated @RequestBody AiImageMidjourneyImagineReqVO req) {
return success(aiImageService.midjourneyImagine(getLoginUserId(), req));
}
@Operation(summary = "midjourney proxy - 回调通知")
@RequestMapping("/midjourney-notify")
public CommonResult<Boolean> midjourneyNotify(MidjourneyNotifyReqVO notifyReqVO) {