Skip to content

Commit 913aec6

Browse files
committed
🎨 binarywang#1147 屏蔽导致企业微信报错“AppID不正确”的代码
1 parent bd1cf2d commit 913aec6

File tree

1 file changed

+4
-4
lines changed
  • weixin-java-common/src/main/java/me/chanjar/weixin/common/util/crypto

1 file changed

+4
-4
lines changed

weixin-java-common/src/main/java/me/chanjar/weixin/common/util/crypto/WxCryptUtil.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,10 @@ public String decrypt(String cipherText) {
270270
throw new RuntimeException(e);
271271
}
272272

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

278278
return xmlContent;
279279

0 commit comments

Comments
 (0)