【增加】AI Image 列表增加删除

This commit is contained in:
cherishsince
2024-05-28 10:37:44 +08:00
parent c87713f040
commit 2211618ada
3 changed files with 19 additions and 2 deletions

View File

@ -52,4 +52,8 @@ export const ImageApi = {
dall: async (data: ImageDallReqVO)=> {
return await request.post({ url: `/ai/image/dall`, data })
},
// 删除
deleteImage: async (id: number)=> {
return await request.delete({ url: `/ai/image/delete?id=${id}`})
},
}