feat:增加登录模块

This commit is contained in:
2025-06-25 23:48:43 +08:00
parent 37b2e588db
commit 99f828381d
21 changed files with 822 additions and 82 deletions

View File

@@ -1,23 +1,22 @@
export type ILoginType = 'common' | 'phone' | 'email' | 'admin'
export type ILoginType = 'common' | 'phone' | 'email' | 'admin' | 'register'
export type IAccountType = 'QQ' | 'WeChat' | 'Phone' | 'EMail'
export interface IUser {
id: number;
accountId: number;
accountName: string;
id?: number;
username: string;
gender: number;
idNumber: string;
phoneNumber: string;
email: string;
birthDate: string;
avatar: string;
description: string;
area: string[];
address: string;
job: string;
tags: string[];
password: string;
gender?: number;
idNumber?: string;
phoneNumber?: string;
email?: string;
birthDate?: string;
avatar?: string;
description?: string;
area?: string[];
address?: string;
job?: string;
tags?: string[];
}
export interface ISession {