mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 07:41:53 +08:00
【优化】midjourney action 重置 buttons
This commit is contained in:
parent
513ded4f61
commit
90f920f55b
@ -79,7 +79,7 @@ public class AiImageController {
|
||||
}
|
||||
|
||||
@Operation(summary = "midjourney - action(放大、缩小、U1、U2...)")
|
||||
@PostMapping("/midjourney/action")
|
||||
@GetMapping("/midjourney/action")
|
||||
public CommonResult<Boolean> midjourneyAction(@RequestParam("id") Long imageId,
|
||||
@RequestParam("customId") String customId) {
|
||||
return success(imageService.midjourneyAction(getLoginUserId(), imageId, customId));
|
||||
|
@ -258,6 +258,7 @@ public class AiImageServiceImpl implements AiImageService {
|
||||
newImage.setProgress(null);
|
||||
newImage.setTaskId(submitRespVO.getResult());
|
||||
newImage.setErrorMessage(null);
|
||||
newImage.setButtons(null);
|
||||
// 4.2、保存数据库
|
||||
imageMapper.insert(newImage);
|
||||
return Boolean.TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user