2
0

fix:修改个人信息界面以及接口

This commit is contained in:
zhongzm
2024-12-13 19:14:29 +08:00
parent bf911bac96
commit 7cf6249fd8
5 changed files with 129 additions and 35 deletions

19
src/typings/api.d.ts vendored
View File

@@ -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;
}
}
/**