瀏覽代碼

打印测试的日志

tuonina 5 年之前
父節點
當前提交
8660053e71
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tuon-qywx/src/main/kotlin/cn/tonyandmoney/tuon/qywx/controller/QywxController.kt

+ 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))
         }