haogh 1 year ago
parent
commit
432e838ea3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/java/com/qmth/exam/reserve/weixin/AbstractRequest.java

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

@@ -89,6 +89,7 @@ public abstract class AbstractRequest<T extends WxResponseJson, K, V> {
         if (jsonEntity != null) {
         if (jsonEntity != null) {
             if (jsonEntity.getErrcode() == 40001 || jsonEntity.getErrcode() == 40014 || jsonEntity.getErrcode() == 40029
             if (jsonEntity.getErrcode() == 40001 || jsonEntity.getErrcode() == 40014 || jsonEntity.getErrcode() == 40029
                     || jsonEntity.getErrcode() == 42001) {
                     || jsonEntity.getErrcode() == 42001) {
+                log.warn("error_code:{}; err_message:{}", jsonEntity.getErrcode(), jsonEntity.getErrmsg());
                 if (this.requestTotal < 5) {
                 if (this.requestTotal < 5) {
                     this.requestTotal++;
                     this.requestTotal++;
                     this.request();
                     this.request();