From 3b32b7055293df1ee7f0170f85820f08c8228b43 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 27 六月 2025 10:42:58 +0800
Subject: [PATCH] fix: 修改微信支付使用优惠券的bug

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

diff --git a/LifePayment/LifePayment.HttpApi/LifePay/AliPayNotifyController.cs b/LifePayment/LifePayment.HttpApi/LifePay/AliPayNotifyController.cs
index 7a44105..97c023c 100644
--- a/LifePayment/LifePayment.HttpApi/LifePay/AliPayNotifyController.cs
+++ b/LifePayment/LifePayment.HttpApi/LifePay/AliPayNotifyController.cs
@@ -96,7 +96,7 @@
                             LifePayType = LifePayTypeEnum.AliPay,
                             ExpensesReceiptsType = ExpensesReceiptsTypeEnum.Receipts
                         });
-                        await CurrentUnitOfWork.CompleteAsync();
+                        await CurrentUnitOfWork.SaveChangesAsync();
                         _logger.LogInformation("浜嬪姟瀹屾垚");
                     }
                 }

--
Gitblit v1.9.1