From 2e05e9645f406f4a90e6190cb50efb34905a5d38 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Wed, 3 Apr 2024 15:30:16 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=8D=95=E4=B8=AA=E4=BA=BA=E5=91=98?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=96=B9=E6=B3=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Common/Services/Implements/HangfireService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Dlhis.ScheduledTask/Common/Services/Implements/HangfireService.cs b/Src/Dlhis.ScheduledTask/Common/Services/Implements/HangfireService.cs index 7664a55b..13dfb4b7 100644 --- a/Src/Dlhis.ScheduledTask/Common/Services/Implements/HangfireService.cs +++ b/Src/Dlhis.ScheduledTask/Common/Services/Implements/HangfireService.cs @@ -20,7 +20,7 @@ public class HangfireService : IHangfireService using var handler = await _redisCache.LockAsync(jobKey); if (handler.Acquired) { - BackgroundJob.Enqueue(x => x.TodoAsync(request.Code)); + BackgroundJob.Enqueue(x => x.TodoByCodeAsync(request.Code)); } } }