Browse Source

🎨 #1147 屏蔽导致企业微信报错“AppID不正确”的代码

master
Binary Wang 5 years ago
parent
commit
913aec6e93
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      weixin-java-common/src/main/java/me/chanjar/weixin/common/util/crypto/WxCryptUtil.java

+ 4
- 4
weixin-java-common/src/main/java/me/chanjar/weixin/common/util/crypto/WxCryptUtil.java View File

@@ -270,10 +270,10 @@ public class WxCryptUtil {
throw new RuntimeException(e);
}

// appid不相同的情况
if (!fromAppid.equals(this.appidOrCorpid)) {
throw new RuntimeException("AppID不正确,请核实!");
}
// appid不相同的情况 暂时忽略这段判断
// if (!fromAppid.equals(this.appidOrCorpid)) {
// throw new RuntimeException("AppID不正确,请核实!");
// }

return xmlContent;



Loading…
Cancel
Save