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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
1
src/typings/auto-imports.d.ts
vendored
1
src/typings/auto-imports.d.ts
vendored
@@ -53,6 +53,7 @@ declare global {
|
||||
const doAddDict: typeof import('../service/api/dict')['doAddDict']
|
||||
const doAddMenu: typeof import('../service/api/menu')['doAddMenu']
|
||||
const doAddPost: typeof import('../service/api/post')['doAddPost']
|
||||
const doChangeUserInfo: typeof import('../service/api/auth')['doChangeUserInfo']
|
||||
const doCheckUserRepeat: typeof import('../service/api/auth')['doCheckUserRepeat']
|
||||
const doDeleteDept: typeof import('../service/api/dept')['doDeleteDept']
|
||||
const doDeleteDict: typeof import('../service/api/dict')['doDeleteDict']
|
||||
|
||||
Reference in New Issue
Block a user