修改密码 异常返回
parent
8608b458e4
commit
c7e5e86a40
|
|
@ -531,7 +531,7 @@ public class UserRepositoryImpl extends BaseRepositoryImpl<UserMapper, UserDO> i
|
||||||
SingleResponse<Long> response = accountFacade.checkPassword(accountPasswordCheckCmd);
|
SingleResponse<Long> response = accountFacade.checkPassword(accountPasswordCheckCmd);
|
||||||
log.info("updateXgf,GBS验证用户密码返回:{}", JSONUtil.toJsonStr(response));
|
log.info("updateXgf,GBS验证用户密码返回:{}", JSONUtil.toJsonStr(response));
|
||||||
if (!response.isSuccess()) {
|
if (!response.isSuccess()) {
|
||||||
return Response.buildFailure("原密码不正确");
|
throw new BizException("原密码不正确");
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
//验证本地密码
|
//验证本地密码
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue