feat: 地图列表批量删除 — checkbox多选+POST batch-delete API

This commit is contained in:
Hermes CI Fix
2026-07-14 15:39:36 +08:00
parent 966c9808ec
commit 61d37bc31c
3 changed files with 41 additions and 2 deletions
+1
View File
@@ -43,6 +43,7 @@ export const mapApi = {
create: (data: any) => api.post('/maps', data),
update: (id: number, data: any) => api.put(`/maps/${id}`, data),
delete: (id: number) => api.delete(`/maps/${id}`),
batchDelete: (ids: number[]) => api.post('/maps/batch-delete', { ids }),
createWithTemplate: (data: any) => api.post('/maps/create-with-template', data),
}