Quellcode durchsuchen

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

master
Binary Wang vor 5 Jahren
Ursprung
Commit
913aec6e93
1 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  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 Datei anzeigen

@@ -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;



Laden…
Abbrechen
Speichern