haogh 1 year ago
parent
commit
4a68fee6ec
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/qmth/exam/reserve/weixin/AbstractRequest.java

+ 2 - 2
src/main/java/com/qmth/exam/reserve/weixin/AbstractRequest.java

@@ -93,8 +93,8 @@ public abstract class AbstractRequest<T extends WxResponseJson, K, V> {
                     this.requestTotal++;
                     this.request();
                 } else {
-                    log.info("error_code:" + jsonEntity.getErrcode() + ";err_message:" + jsonEntity.getErrmsg()
-                            + ";weixin_json:" + jsonEntity.getWeixin_json());
+                    log.error("error_code:{};err_message:{};weixin_json:{}", jsonEntity.getErrcode(), jsonEntity.getErrmsg(),
+                            jsonEntity.getWeixin_json());
                     throw new StatusException("无法获取openId");
                 }
             }