更换短信验证码

This commit is contained in:
wuchunlei
2025-04-16 16:39:07 +08:00
parent 2b57f006a5
commit c6b7699e84
16 changed files with 174 additions and 21 deletions

View File

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