Pre Merge pull request !123 from everythingok/N/A

This commit is contained in:
everythingok 2024-03-29 11:25:45 +00:00 committed by Gitee
commit a6343415ec
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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)) {