update 订单分账

This commit is contained in:
Guoqs
2024-11-18 16:41:14 +08:00
parent a40472e4ba
commit aea76c6c32

View File

@@ -1413,12 +1413,14 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
PaymentConfirmParam param = PaymentConfirmParam.builder()
.paymentId(paymentId)
.divMemberList(divMemberList)
.confirmAmt(confirmAmt)
.confirmAmt(deductionAmount)
.orderCode(orderCode)
.wechatAppId(wechatAppId)
.build();
// 延时分账使用确认交易API
// PaymentConfirmResponse paymentConfirmResponse = adapayService.createPaymentConfirmRequest(paymentId,
// adapayMemberAccount, deductionAmount, orderCode, wechatAppId);
PaymentConfirmResponse paymentConfirmResponse = adapayService.createPaymentConfirmRequest(param);
if (paymentConfirmResponse != null && paymentConfirmResponse.isNotFailed()) {