提交 9ae5d7ea authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 2dd29ae0
......@@ -256,7 +256,7 @@ public class WXBizMsgCrypt {
// 验证安全签名
String signature = SHA1.getSHA1(token, timeStamp, nonce, encrypt[1].toString());
log.info("===================验证安全签名========================"+signature);
// 和URL中的签名比较是否相等
// System.out.println("第三方收到URL中的签名:" + msg_sign);
// System.out.println("第三方校验签名:" + signature);
......
......@@ -120,6 +120,7 @@ public class AssetsController {
}
log.error("第三方平台全网发布-----------------------原始 Xml=" + xml);
WXBizMsgCrypt pc = new WXBizMsgCrypt(token, encodingAesKey, appId);
log.error("第三方平台全网发布-----------------------解密后 Xml——PC=" + pc);
String xml1 = pc.decryptMsg(msgSignature, timestamp, nonce, xml);
log.error("第三方平台全网发布-----------------------解密后 Xml=" + xml1);
//processAuthorizationEvent(xml1);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论