55 lines
734 B
TypeScript
Raw Normal View History

2023-04-02 01:01:56 +08:00
/**
*
*/
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[];
}