AIManage/src/api/auth/model.ts

60 lines
742 B
TypeScript
Raw Normal View History

2024-05-21 01:41:47 +08:00
/**
*
*/
export interface LoginData {
/**
*
*/
username: string;
/**
*
*/
password: string;
/**
* key
*/
captchaKey?: string;
/**
*
*/
captchaCode?: string;
}
/**
*
*/
export interface LoginResult {
/**
* 访token
*/
accessToken?: string;
/**
* ()
*/
expires?: number;
/**
* token
*/
refreshToken?: string;
/**
* token
*/
tokenType?: string;
}
/**
*
*/
export interface CaptchaResult {
/**
* key
*/
captchaKey: string;
/**
* Base64
*/
captchaBase64: string;
}