From 7663dba25eb876e29d8faa0d68ce2f7507d90422 Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Mon, 15 Sep 2025 10:15:47 +0800 Subject: [PATCH] =?UTF-8?q?chore(http):=20comment:=20=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=B1=BB=E4=BC=BCaxios=E7=9A=84API=E8=B0=83=E7=94=A8=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/http/http.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http/http.ts b/src/http/http.ts index fac0dca..f2864b6 100644 --- a/src/http/http.ts +++ b/src/http/http.ts @@ -175,6 +175,7 @@ export function httpDelete(url: string, query?: Record, header?: }) } +// 支持与 axios 类似的API调用 http.get = httpGet http.post = httpPost http.put = httpPut