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

This commit is contained in:
lixuankun 2020-01-13 18:30:06 +08:00 committed by Binary Wang
parent 75421148e2
commit ac935c5c66
2 changed files with 5 additions and 1 deletions

View File

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

View File

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