From 67fc39c356d8b480b7005cb2fa4769a0a6c6cfb1 Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期五, 13 六月 2025 14:19:56 +0800
Subject: [PATCH] pref:优化事务

---
 LifePayment/LifePayment.HttpApi/LifePay/ACOOLYNotifyController.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/LifePayment/LifePayment.HttpApi/LifePay/ACOOLYNotifyController.cs b/LifePayment/LifePayment.HttpApi/LifePay/ACOOLYNotifyController.cs
index cae6846..c6304e0 100644
--- a/LifePayment/LifePayment.HttpApi/LifePay/ACOOLYNotifyController.cs
+++ b/LifePayment/LifePayment.HttpApi/LifePay/ACOOLYNotifyController.cs
@@ -7,6 +7,7 @@
 using System;
 using System.IO;
 using System.Text;
+using System.Threading;
 using System.Threading.Tasks;
 using Volo.Abp;
 using Volo.Abp.AspNetCore.Mvc;
@@ -39,11 +40,12 @@
         /// </summary>
         /// <returns></returns>
         [HttpPost]
-        [UnitOfWork]
         [AllowAnonymous]
+        [UnitOfWork(false)]
         public async Task ACOOLYNotify()
         {
             _logger.LogError("ACOOLY鍥炶皟閫氱煡寮�濮嬭繘鍏�");
+            Thread.Sleep(200);
             var body = string.Empty;
             using (var reader = new StreamReader(Request.Body, Encoding.UTF8))
             {

--
Gitblit v1.9.1