From 069d4d944d3cb504264c9389ce563e5165d7d364 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期二, 25 三月 2025 14:02:35 +0800
Subject: [PATCH] fix:支付宝退款报错优化

---
 LifePayment/LifePayment.Application/LifePay/LifePayService.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
index c6eee0b..8b2ddb2 100644
--- a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
+++ b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
@@ -1390,7 +1390,7 @@
                 var aliRefundResult = await AliTradeRefund(new AlipayTradeRefundRequest() { OutTradeNo = order.OrderNo, RefundAmount = Convert.ToInt32(input.RefundPrice * 100).ToString() });
                 if (aliRefundResult.Code != AlipayResultCode.Success)
                 {
-                    throw new UserFriendlyException("閫�娆惧け璐�");
+                    throw new UserFriendlyException("閫�娆惧け璐�:" + aliRefundResult.SubMsg);
                 }
 
                 order.LifePayOrderStatus = LifePayOrderStatusEnum.宸查��娆�;

--
Gitblit v1.9.1