查询调整
parent
5cf311efea
commit
3653366102
|
@ -73,7 +73,8 @@ public class AppletPayController {
|
||||||
|
|
||||||
/** 构建service */
|
/** 构建service */
|
||||||
private JsapiServiceExtension createService() {
|
private JsapiServiceExtension createService() {
|
||||||
String privateKeyPath = this.getClass().getClassLoader().getResource("wechatPay/apiclient_key.pem").getPath();;
|
String privateKeyPath = Thread.currentThread().getContextClassLoader().getResource("wechatPay/apiclient_key.pem").getPath();
|
||||||
|
;
|
||||||
|
|
||||||
Config config =
|
Config config =
|
||||||
new RSAAutoCertificateConfig.Builder()
|
new RSAAutoCertificateConfig.Builder()
|
||||||
|
|
|
@ -73,7 +73,7 @@ public class H5PayController {
|
||||||
}
|
}
|
||||||
|
|
||||||
private H5Service createService() {
|
private H5Service createService() {
|
||||||
String privateKeyPath = this.getClass().getClassLoader().getResource("wechatPay/apiclient_key.pem").getPath();;
|
String privateKeyPath = Thread.currentThread().getContextClassLoader().getResource("wechatPay/apiclient_key.pem").getPath();
|
||||||
|
|
||||||
Config config =
|
Config config =
|
||||||
new RSAAutoCertificateConfig.Builder()
|
new RSAAutoCertificateConfig.Builder()
|
||||||
|
|
|
@ -27,7 +27,7 @@ public class WechatPayTest {
|
||||||
@Test
|
@Test
|
||||||
void createService() throws IOException {
|
void createService() throws IOException {
|
||||||
|
|
||||||
String privateKeyPath = this.getClass().getClassLoader().getResource("wechatPay/apiclient_key.pem").getPath();
|
String privateKeyPath = Thread.currentThread().getContextClassLoader().getResource("wechatPay/apiclient_key.pem").getPath();
|
||||||
Config config =
|
Config config =
|
||||||
new RSAAutoCertificateConfig.Builder()
|
new RSAAutoCertificateConfig.Builder()
|
||||||
.merchantId(wechatPayConfig.getMchId())
|
.merchantId(wechatPayConfig.getMchId())
|
||||||
|
|
Loading…
Reference in New Issue