mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
Pre Merge pull request !123 from everythingok/N/A
This commit is contained in:
commit
a6343415ec
@ -325,7 +325,7 @@ public class WxPayConfig {
|
|||||||
if (configContent != null) {
|
if (configContent != null) {
|
||||||
inputStream = new ByteArrayInputStream(configContent);
|
inputStream = new ByteArrayInputStream(configContent);
|
||||||
} else if (StringUtils.isNotEmpty(configString)) {
|
} else if (StringUtils.isNotEmpty(configString)) {
|
||||||
configContent = Base64.getDecoder().decode(configString);
|
configContent = configString.getBytes(StandardCharsets.UTF_8);
|
||||||
inputStream = new ByteArrayInputStream(configContent);
|
inputStream = new ByteArrayInputStream(configContent);
|
||||||
} else {
|
} else {
|
||||||
if (StringUtils.isBlank(configPath)) {
|
if (StringUtils.isBlank(configPath)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user