mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 12:39:51 +08:00
多选删除图片资源
This commit is contained in:
@@ -55,3 +55,9 @@ export function storeResource(
|
||||
export function destroyResource(id: number) {
|
||||
return client.destroy(`/backend/v1/resource/${id}`);
|
||||
}
|
||||
|
||||
export function destroyResourceMulti(ids: number[]) {
|
||||
return client.post(`/backend/v1/resource/destroy-multi`, {
|
||||
ids: ids,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user