|
@@ -189,9 +189,9 @@ public class CheckViewBizAuthAspect {
|
|
|
throw new BusinessException(ErrorCode.PASSWORD_ERROR);
|
|
|
}
|
|
|
//模拟前端密码加密规则生成前端密码
|
|
|
- password = SecurityUtil.MD52(Base64Converter.decode(password));
|
|
|
+ String passwordEncode = SecurityUtil.MD52(Base64Converter.decode(password));
|
|
|
//数据库密码比对
|
|
|
- if(!password.equals(jyUser.getRyPassword())){
|
|
|
+ if(!passwordEncode.equals(jyUser.getRyPassword())){
|
|
|
throw new BusinessException(ErrorCode.PASSWORD_ERROR);
|
|
|
}
|
|
|
headers.put("userName", userName);
|