Browse Source

🐛 #1148 修复微信支付拉取评论信息接口签名问题

master
Ziyear 5 years ago
committed by Binary Wang
parent
commit
2f372b4a39
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java

+ 1
- 1
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImpl.java View File

@@ -779,8 +779,8 @@ public abstract class BaseWxPayServiceImpl implements WxPayService {


@Override @Override
public String queryComment(WxPayQueryCommentRequest request) throws WxPayException { public String queryComment(WxPayQueryCommentRequest request) throws WxPayException {
request.checkAndSign(this.getConfig());
request.setSignType(SignType.HMAC_SHA256); request.setSignType(SignType.HMAC_SHA256);
request.checkAndSign(this.getConfig());


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


Loading…
Cancel
Save