Browse Source

忘记密码重新修改

娄底高职分支
hwh2023 10 months ago
parent
commit
371b6e94da
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/UsernologinApi.cs
  2. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/forgotPassword.vue

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/UsernologinApi.cs View File

@@ -138,7 +138,7 @@ namespace Learun.Application.WebApi
{
return Fail("用户不存在");
}
userIBLL.setPassword(userEntity.F_UserId,Md5Helper.Encrypt( modifyModel.newpassword,32));
userIBLL.setPassword(userEntity.F_UserId, modifyModel.newpassword);

return Success("密码修改成功");
}


+ 1
- 1
Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/forgotPassword.vue View File

@@ -118,7 +118,7 @@ export default{
}
this.LOADING()
let res = await this.HTTP_POST('learun/adms/usernologin/forgetpass', {
newpassword:this.form.newpassword,
newpassword:this.MD5(this.form.newpassword),
// this.MD5()
phone:this.phone
})


Loading…
Cancel
Save