57 lines
804 B
TypeScript
Raw Normal View History

2023-04-02 01:01:56 +08:00
/**
*
*/
export type RegisterForm = {
2023-04-03 00:05:09 +08:00
tenantId: string;
username: string;
password: string;
confirmPassword?: string;
code?: string;
uuid?: string;
userType?: string;
2023-04-02 01:01:56 +08:00
};
/**
*
*/
export interface LoginData {
2023-04-03 00:05:09 +08:00
tenantId: string;
username: string;
password: string;
rememberMe?: boolean;
code?: string;
uuid?: string;
clientId: string;
grantType: string;
2023-04-02 01:01:56 +08:00
}
/**
*
*/
export interface LoginResult {
access_token: string;
2023-04-02 01:01:56 +08:00
}
/**
*
*/
export interface VerifyCodeResult {
2023-04-03 00:05:09 +08:00
captchaEnabled: boolean;
uuid?: string;
img?: string;
2023-04-02 01:01:56 +08:00
}
/**
*
*/
export interface TenantVO {
2023-04-03 00:05:09 +08:00
companyName: string;
domain: any;
tenantId: string;
2023-04-02 01:01:56 +08:00
}
export interface TenantInfo {
2023-04-03 00:05:09 +08:00
tenantEnabled: boolean;
voList: TenantVO[];
2023-04-02 01:01:56 +08:00
}