Skip to content

Commit b0b487f

Browse files
authored
🐛 #3369【微信支付】修复查询分账结果transaction_id取值问题
1 parent 3aba0b7 commit b0b487f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public ProfitSharingV3Result profitSharingQueryV3(String outOrderNo, String tran
146146
@Override
147147
public ProfitSharingV3Result profitSharingQueryV3(ProfitSharingQueryV3Request request) throws WxPayException {
148148
String url = String.format("%s/v3/profitsharing/orders/%s?transaction_id=%s", this.payService.getPayBaseUrl(),
149-
request.getOutOrderNo(), request.getOutOrderNo());
149+
request.getOutOrderNo(), request.getTransactionId());
150150
if(StringUtils.isNotEmpty(request.getSubMchId())){
151151
url += "&sub_mchid=" + request.getSubMchId();
152152
}

0 commit comments

Comments
 (0)