From 730b12c2e4327a387743f460cb9be82833718f5b Mon Sep 17 00:00:00 2001 From: wenhua <1084668738@qq.com> Date: Mon, 16 Oct 2023 14:25:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=A9=E5=8D=8E:=20=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AFapi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/auth.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/api/auth.ts diff --git a/src/api/auth.ts b/src/api/auth.ts new file mode 100644 index 0000000..7e24869 --- /dev/null +++ b/src/api/auth.ts @@ -0,0 +1,8 @@ +import request from "../utils/request"; + +export const getAuthInfoApi = () => { + return request({ + url: '/auth/info', + method: 'get' + }) +} \ No newline at end of file