增加删除完善优化文档

Squashed commit of the following:

commit c0e6400bcd
Author: Sun <95302870@qq.com>
Date:   Fri Nov 10 13:02:35 2023 +0800

    更新说明文档

commit 0a81db157b
Author: Sun <95302870@qq.com>
Date:   Fri Nov 10 13:02:27 2023 +0800

    完善删除图标功能
This commit is contained in:
Sun
2023-11-10 13:08:59 +08:00
parent 211c3071dc
commit 7c939175db
7 changed files with 90 additions and 26 deletions
+3 -11
View File
@@ -1,13 +1,5 @@
import { post } from '@/utils/request'
// // 获取绘图的列表
// export function getMyDrawList<T>(req: Common.ListRequest) {
// return post<T>({
// url: '/aiDraw/getMyDrawList',
// data: req,
// })
// }
export function edit<T>(req: Panel.ItemInfo) {
return post<T>({
url: '/panel/itemIcon/edit',
@@ -28,9 +20,9 @@ export function getListByGroupId<T>() {
})
}
export function getSystemList<T>(data: Common.ListRequest) {
export function deletes<T>(ids: number[]) {
return post<T>({
url: '/aiApplet/getSystemList',
data,
url: '/panel/itemIcon/deletes',
data: { ids },
})
}