From 149ce84eb71311ccd9719dc4a883aa9b6e63eeb6 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期四, 20 三月 2025 12:58:49 +0800
Subject: [PATCH] fix:订单列表新增字段
---
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