添加登录(账号密码登录-图片验证码)接口
This commit is contained in:
@@ -553,3 +553,38 @@ export interface OutputVerificationCodeImage {
|
||||
*/
|
||||
export type VerificationCodeImageResponse = CommonActionResult<OutputVerificationCodeImage>;
|
||||
|
||||
/**
|
||||
* 登录(账号密码登录-图片验证码)入参
|
||||
*/
|
||||
export interface InputLoginByPassword {
|
||||
/** 登录账号 */
|
||||
username: string;
|
||||
/** 登录密码 */
|
||||
password: string;
|
||||
/** 图片验证码内容 */
|
||||
verification_code: string;
|
||||
/** 图片验证码 key */
|
||||
verification_code_key: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 登录(账号密码登录-图片验证码)出参
|
||||
*/
|
||||
export interface OutputLoginByPassword {
|
||||
/** 用户ID */
|
||||
user_id: string;
|
||||
/** 用户姓名 */
|
||||
user_name: string;
|
||||
/** 角色集合(逗号分隔) */
|
||||
roles: string;
|
||||
/** 访问令牌 */
|
||||
access_token: string;
|
||||
/** 刷新令牌 */
|
||||
refresh_token: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 登录(账号密码登录-图片验证码)响应
|
||||
*/
|
||||
export type LoginByPasswordResponse = CommonActionResult<OutputLoginByPassword>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user