From 73a5cb8e37c2f1a1d0183f8d8743fa78421a8c9a Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 24 Mar 2025 21:35:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20auth=20api=E3=80=9091e1ee7a=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/api/core/auth.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/apps/web-antd/src/api/core/auth.ts b/apps/web-antd/src/api/core/auth.ts index f351b13ee..a43738d15 100644 --- a/apps/web-antd/src/api/core/auth.ts +++ b/apps/web-antd/src/api/core/auth.ts @@ -17,6 +17,7 @@ export namespace AuthApi { expiresTime: number; } + /** 刷新 token 返回值 */ export interface RefreshTokenResult { data: string; status: number; @@ -28,6 +29,18 @@ export namespace AuthApi { name: string; } + /** 手机验证码获取接口参数 */ + export interface SmsCodeVO { + mobile: string; + scene: number; + } + + /** 手机验证码登录接口参数 */ + export interface SmsLoginVO { + mobile: string; + code: string; + } + } /** 登录 */