浏览代码

🐛 #1378 修复微信支付查询分账接口报签名失败的问题

dev1
lixuankun 5 年前
committed by Binary Wang
父节点
当前提交
ac935c5c66
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. +5
    -0
      weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/profitsharing/ProfitSharingQueryRequest.java
  2. +0
    -1
      weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/ProfitSharingServiceImpl.java

+ 5
- 0
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/profitsharing/ProfitSharingQueryRequest.java 查看文件

@@ -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;
}
}

+ 0
- 1
weixin-java-pay/src/main/java/com/github/binarywang/wxpay/service/impl/ProfitSharingServiceImpl.java 查看文件

@@ -76,7 +76,6 @@ public class ProfitSharingServiceImpl implements ProfitSharingService {

@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";



正在加载...
取消
保存