fix(projects): 修复个人信息-修改密码未加密且参数错误问题

This commit is contained in:
AN
2025-06-22 12:49:51 +08:00
parent f36ac9abc6
commit 8b3151b8ce
4 changed files with 16 additions and 10 deletions

View File

@ -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 = {