mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 08:37:32 +08:00
🎨 【微信支付】修复使用setPrivateKeyString设置秘钥串时报“v3请求构造异常”的问题
This commit is contained in:
parent
fe5430ee65
commit
94aaff4c94
@ -325,7 +325,7 @@ public class WxPayConfig {
|
||||
if (configContent != null) {
|
||||
inputStream = new ByteArrayInputStream(configContent);
|
||||
} else if (StringUtils.isNotEmpty(configString)) {
|
||||
configContent = Base64.getDecoder().decode(configString);
|
||||
configContent = configString.getBytes(StandardCharsets.UTF_8);
|
||||
inputStream = new ByteArrayInputStream(configContent);
|
||||
} else {
|
||||
if (StringUtils.isBlank(configPath)) {
|
||||
|
Loading…
Reference in New Issue
Block a user