mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
fix(projects): 修复个人信息-修改密码未加密且参数错误问题
This commit is contained in:
7
src/typings/api/system.api.d.ts
vendored
7
src/typings/api/system.api.d.ts
vendored
@ -152,9 +152,10 @@ declare namespace Api {
|
||||
type UserProfileOperateParams = CommonType.RecordNullable<Pick<User, 'nickName' | 'email' | 'phonenumber' | 'sex'>>;
|
||||
|
||||
/** user password operate params */
|
||||
type UserPasswordOperateParams = CommonType.RecordNullable<
|
||||
Pick<User, 'userId' | 'password'> & { newPassword: string }
|
||||
>;
|
||||
type UserPasswordOperateParams = CommonType.RecordNullable<{
|
||||
oldPassword: string;
|
||||
newPassword: string;
|
||||
}>;
|
||||
|
||||
/** user info */
|
||||
type UserInfo = {
|
||||
|
Reference in New Issue
Block a user