fix 处理可能有未加密数据传入解密中

This commit is contained in:
lijiarao
2022-06-09 14:23:21 +08:00
parent 2d3de87d7d
commit 33ad3fc154
@@ -143,7 +143,11 @@ public class PasswordUtil {
catch (Exception e) {
// TODO: handle exception
}
return new String(passDec);
if (passDec == null){
return ciphertext;
}else {
return new String(passDec);
}
}
/**