🐛 【微信支付】修复公钥校验问题
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user