提交 0cea50ca 编写于 作者: H haoxr

refactor: 完善认证数据类型声明

Former-commit-id: 59f8fbd1
上级 e138347a
/**
* 登录表单类型声明
* 登录数据类型
*/
export interface LoginForm {
export interface LoginData {
username: string;
password: string;
grant_type: string;
/**
* 验证码Code
*/
......@@ -16,15 +15,16 @@ export interface LoginForm {
}
/**
* 登录响应类型声明
* Token响应类型
*/
export interface LoginResult {
access_token: string;
token_type: string;
export interface TokenResult {
accessToken: string;
refreshToken: string;
expires: number;
}
/**
* 验证码类型声明
* 验证码类型
*/
export interface VerifyCode {
verifyCodeImg: string;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册