feat:增加登录模块
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user