提交 5b0d5b45 authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 60439429
......@@ -108,8 +108,8 @@ public class AssetsController {
while ((line = in.readLine()) != null) {
sb.append(line);
}
String xml = sb.toString();
log.info("解密前:{}", xml);
/* String xml = sb.toString();
log.info("解密前:{}", xml);*/
WXBizMsgCrypt pc = new WXBizMsgCrypt(token, encodingAesKey, appId);
String mingwen = pc.encryptMsg(replyMsg, timestamp, nonce);
......@@ -142,9 +142,6 @@ public class AssetsController {
String result2 = pc.decryptMsg(msgSignature1, timestamp, nonce, fromXML);
log.info("解密后================================================");
log.info("解密后++++++++++++++++++++++++++++++++++++++++++++++++++", result2+"123++++++++++++++++++++++++++++++");
WXBizMsgCrypt wxBizMsgCrypt = new WXBizMsgCrypt("23_4NeNfPBg37JfaYDZE8yDWJJ-UldUUM5tPkRnhVp1LClx-ulojqNSdIdqni3083YVUlHfY8hg8s9N7jMYQM2iTSvqcG7ihwylq9RWmNH8-BkmRGvo7qrY6ZSlgen65rx7rMurguTblWXeBuNJYFDjABASZX","RDXJ9DzpjPpjSfETvAy08PDUlvZlhIibJWGP3yLuU5t", "wxedf8fbb3985c33d2");
xml = wxBizMsgCrypt.decryptMsg(msgSignature, timestamp, nonce, xml);
log.info("**************************解密后:{}", xml+"**************************");
//把ticket放入缓存
// openWxService.saveTicketToRedis(xml);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论