From 2f372b4a398b70d6afb3e8bef2509edc4a111ef2 Mon Sep 17 00:00:00 2001 From: Ziyear <31235089+Ziyear@users.noreply.github.com> Date: Fri, 9 Aug 2019 09:26:46 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20#1148=20=E4=BF=AE=E5=A4=8D=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E6=94=AF=E4=BB=98=E6=8B=89=E5=8F=96=E8=AF=84=E8=AE=BA?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=8E=A5=E5=8F=A3=E7=AD=BE=E5=90=8D=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java index 01578a23..9e0e57c1 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java @@ -779,8 +779,8 @@ public abstract class BaseWxPayServiceImpl implements WxPayService { @Override public String queryComment(WxPayQueryCommentRequest request) throws WxPayException { - request.checkAndSign(this.getConfig()); request.setSignType(SignType.HMAC_SHA256); + request.checkAndSign(this.getConfig()); String url = this.getPayBaseUrl() + "/billcommentsp/batchquerycomment"; String responseContent = this.post(url, request.toXML(), true);