Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
2545132b
Commit
2545132b
authored
Nov 20, 2021
by
dingzhiwei
Browse files
优化微信支付接口
parent
7ae96bb3
Changes
2
Hide whitespace changes
Inline
Side-by-side
jeepay-payment/src/main/java/com/jeequan/jeepay/pay/model/WxServiceWrapper.java
View file @
2545132b
...
...
@@ -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
));
}
...
...
jeepay-payment/src/main/java/com/jeequan/jeepay/pay/util/ChannelCertConfigKitBean.java
View file @
2545132b
...
...
@@ -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
){
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment