From fbd573b5d2d05cac61d2184064bb5dd18d0fe61f Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期四, 20 三月 2025 16:48:48 +0800 Subject: [PATCH] fix:退款订单号bug修复 --- LifePayment/LifePayment.Domain/Ali/AliPayApi.cs | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/LifePayment/LifePayment.Domain/Ali/AliPayApi.cs b/LifePayment/LifePayment.Domain/Ali/AliPayApi.cs index 40ccd7c..a64cc72 100644 --- a/LifePayment/LifePayment.Domain/Ali/AliPayApi.cs +++ b/LifePayment/LifePayment.Domain/Ali/AliPayApi.cs @@ -33,5 +33,11 @@ AlipayTradeQueryResponse response = Factory.Payment.Common().Query(input.OutTradeNo); return response; } + + public async Task<AlipayTradeRefundResponse> TradeRefund(AlipayTradeRefundRequest input) + { + AlipayTradeRefundResponse response = Factory.Payment.Common().Refund(input.OutTradeNo,input.RefundAmount); + return response; + } } } \ No newline at end of file -- Gitblit v1.9.1