mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-25 00:15:06 +08:00
【优化】midjourney action 重置 buttons
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user