Skip to content

Commit 166e54c

Browse files
committed
微信支付模块调整,跟其他模块保持统一,默认使用apache httpclient
1 parent 1cd6618 commit 166e54c

File tree

6 files changed

+610
-512
lines changed

6 files changed

+610
-512
lines changed

weixin-java-pay/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@
2323
<groupId>com.github.binarywang</groupId>
2424
<artifactId>qrcode-utils</artifactId>
2525
</dependency>
26+
2627
<dependency>
2728
<groupId>org.jodd</groupId>
2829
<artifactId>jodd-http</artifactId>
29-
<scope>compile</scope>
30+
<scope>provided</scope>
3031
</dependency>
3132

3233
<dependency>

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/result/WxPayBaseResult.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.github.binarywang.wxpay.bean.result;
22

33
import com.github.binarywang.wxpay.exception.WxPayException;
4-
import com.github.binarywang.wxpay.service.impl.WxPayServiceImpl;
4+
import com.github.binarywang.wxpay.service.impl.WxPayServiceAbstractImpl;
55
import com.github.binarywang.wxpay.util.SignUtils;
66
import com.google.common.base.Joiner;
77
import com.google.common.collect.Maps;
@@ -307,7 +307,7 @@ protected Integer getXmlValueAsInt(String... path) {
307307
/**
308308
* 校验返回结果签名
309309
*/
310-
public void checkResult(WxPayServiceImpl wxPayService) throws WxPayException {
310+
public void checkResult(WxPayServiceAbstractImpl wxPayService) throws WxPayException {
311311
//校验返回结果签名
312312
Map<String, String> map = toMap();
313313
if (getSign() != null && !SignUtils.checkSign(map, wxPayService.getConfig().getMchKey())) {

0 commit comments

Comments
 (0)