短信验证码

This commit is contained in:
wuchunlei
2025-04-16 18:41:20 +08:00
parent 11bcf3eb9d
commit 8286cf2034
6 changed files with 23 additions and 27 deletions

View File

@@ -31,13 +31,13 @@ public class VodAliController {
throw new RuntimeException(e);
}
if (!validRe) {
return Base64.decodeBase64("Illegal access".getBytes());
return Base64.decodeBase64("Illegal access");
}
if (null == cipherText) {
return Base64.decodeBase64("Illegal access !".getBytes());
return Base64.decodeBase64("Illegal access !");
}
DecryptKMSDataKeyResponseBody decryptKMSDataKeyResponseBody = SpdbUtil.enKMS(cipherText);
return Base64.decodeBase64(decryptKMSDataKeyResponseBody.getPlaintext().getBytes());
return Base64.decodeBase64(decryptKMSDataKeyResponseBody.getPlaintext());
}