Commit 3ae486e0 by 刘红梅

修改密码

parent 627c67c0
...@@ -116,7 +116,7 @@ public class LoginServiceImpl implements LoginService { ...@@ -116,7 +116,7 @@ public class LoginServiceImpl implements LoginService {
//1.根据手机号去库中查询是否存在 //1.根据手机号去库中查询是否存在
ExpertInfoResp expertInfoResp = loginServicesClient.querySingleByShengFenZhengOrMobile(loginVO.getPhoneNumber(),null); ExpertInfoResp expertInfoResp = loginServicesClient.querySingleByShengFenZhengOrMobile(loginVO.getPhoneNumber(),null);
if(expertInfoResp == null){ if(expertInfoResp == null){
return "用户信息不存在"; throw new BusinessException(GlobalErrorCodeConstants.USER_NOT_EXISTS.getCode(),GlobalErrorCodeConstants.USER_NOT_EXISTS.getMsg());
} }
//2.判断密码是否存在 //2.判断密码是否存在
ExpertInfoAppResp expertInfoAppResp = loginServicesClient.getZhuanJiaInfoAppById(expertInfoResp.getZhuanJiaGuid()); ExpertInfoAppResp expertInfoAppResp = loginServicesClient.getZhuanJiaInfoAppById(expertInfoResp.getZhuanJiaGuid());
...@@ -132,7 +132,7 @@ public class LoginServiceImpl implements LoginService { ...@@ -132,7 +132,7 @@ public class LoginServiceImpl implements LoginService {
//判断密码是否符合规则 //判断密码是否符合规则
//进行解密处理 //进行解密处理
//调用数据库更新密码 //调用数据库更新密码
return "ok"; return "密码重置成功";
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment