查询调整
parent
0273c01772
commit
443cf0b890
|
@ -73,13 +73,12 @@ public class AppletPayController {
|
|||
|
||||
/** 构建service */
|
||||
private JsapiServiceExtension createService() {
|
||||
String privateKeyPath = Thread.currentThread().getContextClassLoader().getResource("wechatPay/apiclient_key.pem").getPath();
|
||||
|
||||
Config config =
|
||||
new RSAAutoCertificateConfig.Builder()
|
||||
.merchantId(wechatPayConfig.getMchId())
|
||||
// .privateKeyFromPath(wechatPayConfig.getPrivateKeyPath())
|
||||
.privateKeyFromPath(privateKeyPath)
|
||||
.privateKeyFromPath(wechatPayConfig.getPrivateKeyPath())
|
||||
// .privateKeyFromPath(privateKeyPath)
|
||||
.merchantSerialNumber(wechatPayConfig.getMchSerialNo())
|
||||
.apiV3Key(wechatPayConfig.getApiV3Key())
|
||||
.build();
|
||||
|
|
|
@ -73,13 +73,12 @@ public class H5PayController {
|
|||
}
|
||||
|
||||
private H5Service createService() {
|
||||
String privateKeyPath = Thread.currentThread().getContextClassLoader().getResource("wechatPay/apiclient_key.pem").getPath();
|
||||
|
||||
Config config =
|
||||
new RSAAutoCertificateConfig.Builder()
|
||||
.merchantId(wechatPayConfig.getMchId())
|
||||
// .privateKeyFromPath(wechatPayConfig.getPrivateKeyPath())
|
||||
.privateKeyFromPath(privateKeyPath)
|
||||
.privateKeyFromPath(wechatPayConfig.getPrivateKeyPath())
|
||||
// .privateKeyFromPath(privateKeyPath)
|
||||
.merchantSerialNumber(wechatPayConfig.getMchSerialNo())
|
||||
.apiV3Key(wechatPayConfig.getApiV3Key())
|
||||
.build();
|
||||
|
|
Loading…
Reference in New Issue