chore(http): comment: 添加类似axios的API调用支持

This commit is contained in:
feige996
2025-09-15 10:15:47 +08:00
parent b0e51ed39f
commit 7663dba25e

View File

@@ -175,6 +175,7 @@ export function httpDelete<T>(url: string, query?: Record<string, any>, header?:
})
}
// 支持与 axios 类似的API调用
http.get = httpGet
http.post = httpPost
http.put = httpPut