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.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 ddfd419..dfa50f8 100644
--- a/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
+++ b/LifePayment/LifePayment.Application/LifePay/LifePayService.cs
@@ -1609,7 +1609,7 @@
             await _lifePayOrderService.CreatLifePayConsumption(acoolyStatus, order.OrderNo, order.ACOOLYOrderNo,
                         order.PlatformDeductionAmount ?? 0, order.ChannelId, order.CreationTime, order.FinishTime, order.ChannleRate, parValue, actualParValue);
 
-            await CurrentUnitOfWork.CompleteAsync();
+            await CurrentUnitOfWork.SaveChangesAsync();
 
             _logger.LogInformation("浜嬪姟瀹屾垚");
         }

--
Gitblit v1.9.1