mirror of
https://github.com/jeequan/jeepay
synced 2024-11-17 23:08:03 +08:00
优化微信支付接口
This commit is contained in:
parent
7ae96bb395
commit
2545132b3e
@ -75,6 +75,7 @@ public class WxServiceWrapper {
|
||||
|
||||
wxPayConfig.setApiV3Key(apiV3Key);
|
||||
wxPayConfig.setCertSerialNo(serialNo);
|
||||
wxPayConfig.setKeyPath(channelCertConfigKitBean.getCertFilePath(cert));
|
||||
wxPayConfig.setPrivateCertPath(channelCertConfigKitBean.getCertFilePath(cert));
|
||||
wxPayConfig.setPrivateKeyPath(channelCertConfigKitBean.getCertFilePath(apiClientKey));
|
||||
}
|
||||
|
@ -37,7 +37,7 @@ public class ChannelCertConfigKitBean {
|
||||
// 以下为 文件不存在的处理方式
|
||||
|
||||
// 是否本地存储
|
||||
boolean isLocalSave = OssServiceTypeEnum.LOCAL.equals(ossYmlConfig.getOss().getServiceType());
|
||||
boolean isLocalSave = OssServiceTypeEnum.LOCAL.getServiceName().equals(ossYmlConfig.getOss().getServiceType());
|
||||
|
||||
// 本地存储 & 文件不存在
|
||||
if(isLocalSave){
|
||||
|
Loading…
Reference in New Issue
Block a user