Skip to content

Commit ac935c5

Browse files
lixuankunbinarywang
authored andcommitted
🐛 #1378 修复微信支付查询分账接口报签名失败的问题
1 parent 7542114 commit ac935c5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/profitsharing/ProfitSharingQueryRequest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,9 @@ public class ProfitSharingQueryRequest extends BaseWxPayRequest {
5151
protected void checkConstraints() throws WxPayException {
5252
this.setSignType(WxPayConstants.SignType.HMAC_SHA256);
5353
}
54+
55+
@Override
56+
public boolean ignoreAppid() {
57+
return true;
58+
}
5459
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ public ProfitSharingReceiverResult removeReceiver(ProfitSharingReceiverRequest r
7676

7777
@Override
7878
public ProfitSharingQueryResult profitSharingQuery(ProfitSharingQueryRequest request) throws WxPayException {
79-
if (true) throw new WxPayException("暂不支持,微信一直返回签名失败");
8079
request.checkAndSign(this.payService.getConfig());
8180
String url = this.payService.getPayBaseUrl() + "/pay/profitsharingquery";
8281

0 commit comments

Comments
 (0)