Skip to content

Commit

Permalink
🐛 #1378 修复微信支付查询分账接口报签名失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
lixuankun authored and binarywang committed Jan 13, 2020
1 parent 7542114 commit ac935c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,9 @@ public class ProfitSharingQueryRequest extends BaseWxPayRequest {
protected void checkConstraints() throws WxPayException {
this.setSignType(WxPayConstants.SignType.HMAC_SHA256);
}

@Override
public boolean ignoreAppid() {
return true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ public ProfitSharingReceiverResult removeReceiver(ProfitSharingReceiverRequest r

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

Expand Down

0 comments on commit ac935c5

Please sign in to comment.