浏览代码

微信扫码添加日志

XFIOOLS\xfIools 2 年之前
父节点
当前提交
314358c0e6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/ematou/wxservice/controller/WeChatMessageController.java

+ 1 - 1
src/main/java/com/ematou/wxservice/controller/WeChatMessageController.java

@@ -44,7 +44,7 @@ public class WeChatMessageController {
                        @RequestParam(name = "nonce",required = false) String nonce,
                        @RequestParam(name = "echostr",required = false) String echostr,
                        HttpServletRequest request, HttpServletResponse response){
-        log.info("收到微信发来GET请求信息!");
+        log.info("收到微信发来GET请求信息!signature:{},timestamp:{},nonce:{},echostr:{}," ,signature,timestamp,nonce,echostr);
         if(SignUtil.checkSignature(signature, timestamp, nonce)) {
             return echostr;
         }