fix:修改个人信息界面以及接口
This commit is contained in:
19
src/typings/api.d.ts
vendored
19
src/typings/api.d.ts
vendored
@@ -104,6 +104,7 @@ declare namespace Api {
|
||||
delFlag: string;
|
||||
loginIp: string;
|
||||
loginDate: string;
|
||||
birthDate:string;
|
||||
dept: Department.Dept;
|
||||
roles: Role[];
|
||||
roleId: string;
|
||||
@@ -143,11 +144,11 @@ declare namespace Api {
|
||||
password: string;
|
||||
authType:string;
|
||||
email: string;
|
||||
fullName: string;
|
||||
fullName?: string;
|
||||
age: number;
|
||||
address: string;
|
||||
sex: string;
|
||||
phonenumber: string;
|
||||
address?: string;
|
||||
sex?: string;
|
||||
phonenumber?: string;
|
||||
}
|
||||
interface EmailCaptcha{
|
||||
email:string;
|
||||
@@ -158,6 +159,16 @@ declare namespace Api {
|
||||
phonenumber?:string;
|
||||
authType: string;
|
||||
}
|
||||
interface ChangeInfoBody{
|
||||
userId:number;
|
||||
userName: string;
|
||||
nickName?: string|undefined;
|
||||
email: string;
|
||||
phonenumber?: string|undefined;
|
||||
sex?: string|undefined;
|
||||
birthDate?:string|undefined;
|
||||
age?:number;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user