微信支付模块调整,跟其他模块保持统一,默认使用apache httpclient

This commit is contained in:
Binary Wang
2017-07-08 17:37:33 +08:00
parent 1cd6618f82
commit 166e54c3f5
6 changed files with 610 additions and 512 deletions

View File

@@ -1,7 +1,7 @@
package com.github.binarywang.wxpay.bean.result;
import com.github.binarywang.wxpay.exception.WxPayException;
import com.github.binarywang.wxpay.service.impl.WxPayServiceImpl;
import com.github.binarywang.wxpay.service.impl.WxPayServiceAbstractImpl;
import com.github.binarywang.wxpay.util.SignUtils;
import com.google.common.base.Joiner;
import com.google.common.collect.Maps;
@@ -307,7 +307,7 @@ public abstract class WxPayBaseResult {
/**
* 校验返回结果签名
*/
public void checkResult(WxPayServiceImpl wxPayService) throws WxPayException {
public void checkResult(WxPayServiceAbstractImpl wxPayService) throws WxPayException {
//校验返回结果签名
Map<String, String> map = toMap();
if (getSign() != null && !SignUtils.checkSign(map, wxPayService.getConfig().getMchKey())) {