feat: get license

This commit is contained in:
Tristan Yang
2022-07-12 17:48:28 +08:00
parent cb80f87033
commit ab9e1b9e54
5 changed files with 99 additions and 18 deletions
+3 -1
View File
@@ -59,10 +59,12 @@ export interface LoginConfig {
third_party: boolean;
}
export interface LicenseResponse {
domain: string;
domains: string[];
created_at: string;
expired_at: string;
sign: boolean;
base58: string;
user_limit: number;
}
export interface CreateAdminDTO extends Pick<User, "email" | "name" | "gender"> {
password: string;