This commit is contained in:
2026-03-25 14:59:06 +08:00
commit ae315100b4
92 changed files with 9285 additions and 0 deletions

17
src/api/models/SignIn.ts Normal file
View File

@@ -0,0 +1,17 @@
import type { ApiResponseType } from "./ApiResponseType";
import type { UserRolesType } from "./Enums";
import type { AccessToken } from "./AccessToken";
interface SignIn {
defaultRole: UserRolesType;
accessToken: AccessToken;
avatarUrl?: string;
nickName: string;
}
export type SignInResponse = ApiResponseType<SignIn>;
export interface SignInParams {
account: string;
password: string;
}