|
@@ -168,7 +168,7 @@ public class LoginService {
|
|
|
String password ;
|
|
|
if(StringUtils.isNotBlank(param.getClear()) && param.getClear().equals("YES")){
|
|
|
try {
|
|
|
- password = SecurityUtil.MD5(AesUtil.desEncrypt(param.getPassword()));
|
|
|
+ password = AesUtil.desEncrypt(param.getPassword());
|
|
|
} catch (Exception e) {
|
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3014, LoginConstant.FAILURE_MSG_3014);
|
|
|
}
|
|
@@ -341,4 +341,8 @@ public class LoginService {
|
|
|
param.setClear("YES"); //明文登录
|
|
|
return login(param);
|
|
|
}
|
|
|
+
|
|
|
+ public static void main(String[] args) {
|
|
|
+ System.out.println("Aa111111".matches(ConstantFilePath.PASSWORD_REGEX));
|
|
|
+ }
|
|
|
}
|