diff --git a/src/types/api/login.d.ts b/src/types/api/login.d.ts index a71ef224..21b3213a 100644 --- a/src/types/api/login.d.ts +++ b/src/types/api/login.d.ts @@ -1,5 +1,5 @@ /** - * 登录请求参数 + * 登录请求参数类型声明 */ export interface LoginRequestParam { username: string, @@ -10,9 +10,18 @@ export interface LoginRequestParam { } /** - * 登录响应参数 + * 登录响应类型声明 */ export interface LoginResponseData { access_token: string, token_type: string -} \ No newline at end of file +} + +/** + * 验证码类型声明 + */ +export interface Captcha { + img: string, + uuid: string +} +