mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 09:38:02 +00:00
Merge branch 'main' into um-5
This commit is contained in:
@@ -170,9 +170,12 @@ class ApiClient {
|
||||
// DELETE 请求
|
||||
async delete(url, options = {}) {
|
||||
const fullUrl = createApiUrl(url)
|
||||
const { data, ...restOptions } = options
|
||||
|
||||
const config = this.buildConfig({
|
||||
...options,
|
||||
method: 'DELETE'
|
||||
...restOptions,
|
||||
method: 'DELETE',
|
||||
body: data ? JSON.stringify(data) : undefined
|
||||
})
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user