diff --git a/yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/controller/admin/image/AiImageController.java b/yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/controller/admin/image/AiImageController.java index baa52da83..e30c4e3e6 100644 --- a/yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/controller/admin/image/AiImageController.java +++ b/yudao-module-ai/yudao-module-ai-biz/src/main/java/cn/iocoder/yudao/module/ai/controller/admin/image/AiImageController.java @@ -57,10 +57,10 @@ public class AiImageController { return success(BeanUtils.toBean(image, AiImageRespVO.class)); } - @GetMapping("/get-my-ids") + @GetMapping("/my-list-by-ids") @Operation(summary = "获取【我的】绘图记录列表") @Parameter(name = "ids", required = true, description = "绘画编号数组", example = "1024,2048") - public CommonResult> getImageMyIds(@RequestParam("ids") List ids) { + public CommonResult> getImageListMyByIds(@RequestParam("ids") List ids) { List imageList = imageService.getImageByIds(ids); imageList.removeIf(item -> !ObjUtil.equal(getLoginUserId(), item.getUserId())); return success(BeanUtils.toBean(imageList, AiImageRespVO.class));