This commit is contained in:
bridge
2026-01-10 00:34:44 +08:00
parent 92fc6d4b83
commit 33b01fa0e9
2 changed files with 6 additions and 1 deletions

View File

@@ -57,6 +57,10 @@ export const httpClient = {
},
body: JSON.stringify(body),
});
},
delete<T>(path: string) {
return request<T>(path, { method: 'DELETE' });
}
};