mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2026-05-16 04:08:01 +00:00
55 lines
734 B
TypeScript
55 lines
734 B
TypeScript
|
|
/**
|
||
|
|
* 注册
|
||
|
|
*/
|
||
|
|
export type RegisterForm = {
|
||
|
|
tenantId: string;
|
||
|
|
username: string;
|
||
|
|
password: string;
|
||
|
|
confirmPassword?: string;
|
||
|
|
code?: string;
|
||
|
|
uuid?: string;
|
||
|
|
userType?: string;
|
||
|
|
};
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 登录请求
|
||
|
|
*/
|
||
|
|
export interface LoginData {
|
||
|
|
tenantId: string;
|
||
|
|
username: string;
|
||
|
|
password: string;
|
||
|
|
rememberMe?: boolean;
|
||
|
|
code?: string;
|
||
|
|
uuid?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 登录响应
|
||
|
|
*/
|
||
|
|
export interface LoginResult {
|
||
|
|
token: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 验证码返回
|
||
|
|
*/
|
||
|
|
export interface VerifyCodeResult {
|
||
|
|
captchaEnabled: boolean;
|
||
|
|
uuid?: string;
|
||
|
|
img?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 租户
|
||
|
|
*/
|
||
|
|
export interface TenantVO {
|
||
|
|
companyName: string;
|
||
|
|
domain: any;
|
||
|
|
tenantId: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface TenantInfo {
|
||
|
|
tenantEnabled: boolean;
|
||
|
|
voList: TenantVO[];
|
||
|
|
}
|