Files
stop-shoping-web/src/api/models/SignIn.ts
2026-03-25 14:59:06 +08:00

18 lines
405 B
TypeScript

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;
}