mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
🐛 【微信支付】修复公钥校验问题
This commit is contained in:
parent
ca005534d4
commit
f70a305aea
@ -449,7 +449,8 @@ public class WxPayConfig {
|
||||
*/
|
||||
private Object[] p12ToPem() {
|
||||
String key = getMchId();
|
||||
if (StringUtils.isBlank(key) || StringUtils.isBlank(this.getKeyPath())) {
|
||||
if (StringUtils.isBlank(key) ||
|
||||
(StringUtils.isBlank(this.getKeyPath()) && this.keyContent == null && StringUtils.isBlank(this.keyString))) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user