Przeglądaj źródła

打印测试的日志

tuonina 5 lat temu
rodzic
commit
8660053e71

+ 1 - 0
tuon-qywx/src/main/kotlin/cn/tonyandmoney/tuon/qywx/controller/QywxController.kt

@@ -107,6 +107,7 @@ class QywxController {
                         @RequestParam("nonce") nonce: String,
                         @RequestParam("echostr") echostr: String): Mono<String> {
         return Mono.create {
+            logger.info(msgMarker,"signature:{},timestamp:{},nonce:{},echostr:{}")
             val utils = WXBizMsgCrypt(properties.token, properties.encodingAESKey, properties.corpid)
             it.success(utils.VerifyURL(signature, timestamp, nonce, echostr))
         }