Skip to content

Commit 2f372b4

Browse files
Ziyearbinarywang
authored andcommitted
🐛 #1148 修复微信支付拉取评论信息接口签名问题
1 parent 9de72c7 commit 2f372b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -779,8 +779,8 @@ public String queryComment(Date beginDate, Date endDate, Integer offset, Integer
779779

780780
@Override
781781
public String queryComment(WxPayQueryCommentRequest request) throws WxPayException {
782-
request.checkAndSign(this.getConfig());
783782
request.setSignType(SignType.HMAC_SHA256);
783+
request.checkAndSign(this.getConfig());
784784

785785
String url = this.getPayBaseUrl() + "/billcommentsp/batchquerycomment";
786786
String responseContent = this.post(url, request.toXML(), true);

0 commit comments

Comments
 (0)