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

This commit is contained in:
lijiarao
2022-06-09 14:23:21 +08:00
parent 2d3de87d7d
commit 33ad3fc154
@@ -143,8 +143,12 @@ public class PasswordUtil {
catch (Exception e) { catch (Exception e) {
// TODO: handle exception // TODO: handle exception
} }
if (passDec == null){
return ciphertext;
}else {
return new String(passDec); return new String(passDec);
} }
}
/** /**
* 自定义解密密文字符串 * 自定义解密密文字符串