mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-31 09:30:05 +08:00
【优化】优化 midjourney 注释
This commit is contained in:
parent
56e8707e38
commit
c1f2e49066
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user