feat: 地图列表批量删除 — checkbox多选+POST batch-delete API
This commit is contained in:
@@ -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),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user