退款子订单添加

This commit is contained in:
2025-09-05 01:35:21 +08:00
parent 4ea0b23a44
commit 0f70484071

View File

@ -73,6 +73,7 @@ public class PayServiceImpl implements PayService {
// refundRequest.setTotalFee(10);
// refundRequest.setRefundFee(10);
payInteg.refund(refundRequest);
return outRefundNo;
} else if (StringUtils.equalsIgnoreCase(payType, PaymentTypeEnum.ZFB_PAY.getCode())) {
AlipayRefundRequest request = new AlipayRefundRequest();
request.setCompanyId(companyId);
@ -81,6 +82,7 @@ public class PayServiceImpl implements PayService {
request.setRefundAmount(refundFee.toString());
request.setRefundReason("退款");
payInteg.alipayRefund(request);
return outRefundNo;
}
} catch (Exception e) {
log.error("退款失败", e);