素材云批量删除

This commit is contained in:
sjy
2026-07-02 14:13:40 +08:00
parent 7a2d127c92
commit b96e4ec4bf
9 changed files with 595 additions and 408 deletions
+1 -1
View File
@@ -130,5 +130,5 @@ export const api = {
post: <T>(path: string, body?: unknown, auth = true, skipAuthRedirect = false) =>
apiRequest<T>(path, { method: 'POST', body, auth, skipAuthRedirect }),
put: <T>(path: string, body?: unknown, auth = true) => apiRequest<T>(path, { method: 'PUT', body, auth }),
delete: <T>(path: string, auth = true) => apiRequest<T>(path, { method: 'DELETE', auth }),
delete: <T>(path: string, body?: unknown, auth = true) => apiRequest<T>(path, { method: 'DELETE', body, auth }),
};