|
|
@@ -26,7 +26,7 @@ public class QywxCallbackService extends AbstractService {
|
|
|
} catch (AesException e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
-
|
|
|
+ logger.info("企业微信CallBack Get {}", callBackStr);
|
|
|
return callBackStr;
|
|
|
}
|
|
|
|
|
|
@@ -36,10 +36,11 @@ public class QywxCallbackService extends AbstractService {
|
|
|
String sEncodingAESKey = "73euRc0KW5IbOPNmD6IRFqGAYhcCBRUBrIloAPBLvsR";
|
|
|
String sCorpID = "wwbb7e27c4decb7872";
|
|
|
String decryptMsg = null;
|
|
|
+ logger.info("企业微信CallBack POST ");
|
|
|
try {
|
|
|
WXBizJsonMsgCrypt wxcpt = new WXBizJsonMsgCrypt(sToken, sEncodingAESKey, sCorpID);
|
|
|
decryptMsg = wxcpt.DecryptMsg(msgSignature, timestamp, nonce, jsonMsg);
|
|
|
-
|
|
|
+ logger.info("企业微信CallBack POST {}", decryptMsg);
|
|
|
JSON.parseObject(decryptMsg);
|
|
|
|
|
|
} catch (AesException e) {
|