From a2474c9c43acb29bca8881ebf0fa0bf1443ecbc2 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 1 Jun 2024 15:55:19 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8D=E3=80=91AI=EF=BC=9A?= =?UTF-8?q?=E5=AF=B9=E8=AF=9D=E7=AE=A1=E7=90=86=E4=B8=8D=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/ai/image/index.ts | 4 ++-- src/views/ai/chat/manager/index.vue | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/api/ai/image/index.ts b/src/api/ai/image/index.ts index 8e52d427..dbfd8d33 100644 --- a/src/api/ai/image/index.ts +++ b/src/api/ai/image/index.ts @@ -44,7 +44,7 @@ export interface ImageMidjourneyImagineReqVO { base64Array: string[] // size不能为空 } - +// TODO 芋艿:review 下整体注释、方法名 // AI API 密钥 API export const ImageApi = { // 获取 image 列表 @@ -65,6 +65,6 @@ export const ImageApi = { }, // 删除 deleteImage: async (id: number)=> { - return await request.delete({ url: `/ai/image/delete-id-my?id=${id}`}) + return await request.delete({ url: `/ai/image/delete-my?id=${id}`}) }, } diff --git a/src/views/ai/chat/manager/index.vue b/src/views/ai/chat/manager/index.vue index 720ac1ea..30dc2dfd 100644 --- a/src/views/ai/chat/manager/index.vue +++ b/src/views/ai/chat/manager/index.vue @@ -12,6 +12,9 @@