提交 b0deb6e5 authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 9ae5d7ea
......@@ -253,7 +253,7 @@ public class WXBizMsgCrypt {
// 提取密文
log.info("===================WXBizMsgCrypt========================"+XMLParse.extract(postData));
Object[] encrypt = XMLParse.extract(postData);
log.info("===================提取密文========================"+encrypt);
// 验证安全签名
String signature = SHA1.getSHA1(token, timeStamp, nonce, encrypt[1].toString());
log.info("===================验证安全签名========================"+signature);
......@@ -263,7 +263,6 @@ public class WXBizMsgCrypt {
if (!signature.equals(msgSignature)) {
throw new AesException(AesException.ValidateSignatureError);
}
// 解密
String result = decrypt(encrypt[1].toString());
return result;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论