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/WxPayNotifyController.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/LifePayment/LifePayment.HttpApi/LifePay/WxPayNotifyController.cs b/LifePayment/LifePayment.HttpApi/LifePay/WxPayNotifyController.cs
index e958bac..8d1ae98 100644
--- a/LifePayment/LifePayment.HttpApi/LifePay/WxPayNotifyController.cs
+++ b/LifePayment/LifePayment.HttpApi/LifePay/WxPayNotifyController.cs
@@ -95,7 +95,7 @@
                                 AbsoluteExpirationRelativeToNow = TimeSpan.FromMinutes(10)
                             });
 
-                            await CurrentUnitOfWork.CompleteAsync();
+                            await CurrentUnitOfWork.SaveChangesAsync();
                             _logger.LogInformation("浜嬪姟瀹屾垚");
                         }
                         else

--
Gitblit v1.9.1