From ec35e51418e1daaa129ba6bf72312cda19e4778a Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期五, 21 三月 2025 17:27:16 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/LifePaymentApi

---
 LifePayment/LifePayment.Worker/Worker/GetStaticsWorker.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/LifePayment/LifePayment.Worker/Worker/GetStaticsWorker.cs b/LifePayment/LifePayment.Worker/Worker/GetStaticsWorker.cs
index d0e6ef7..4059589 100644
--- a/LifePayment/LifePayment.Worker/Worker/GetStaticsWorker.cs
+++ b/LifePayment/LifePayment.Worker/Worker/GetStaticsWorker.cs
@@ -16,14 +16,14 @@
 {
     public class GetStaticsWorker : AsyncPeriodicBackgroundWorkerBase
     {
-        private readonly ILifePayService _lifePayService;
+        private readonly IStatisticsService _statisticService;
         private readonly int _doWorkHour = 0;
         private readonly int _doWorkMinute = 30;
-        public GetStaticsWorker(AbpAsyncTimer timer, IServiceScopeFactory serviceScopeFactory, ILifePayService lifePayService) : base(timer, serviceScopeFactory)
+        public GetStaticsWorker(AbpAsyncTimer timer, IServiceScopeFactory serviceScopeFactory, IStatisticsService statisticService) : base(timer, serviceScopeFactory)
         {
-            _lifePayService = lifePayService;
+            _statisticService = statisticService;
             timer.Period = PeriodTool.CalcuPeriodFromEveryDayTime(_doWorkHour, _doWorkMinute, 0);
-            //timer.Period =5 * 60000;
+            //timer.Period =1 * 60000;
         }
 
         [UnitOfWork]
@@ -31,7 +31,7 @@
         {
             try
             {
-                await _lifePayService.GetTopStatistics();
+                await _statisticService.GetTopStatistics();
                 Logger.LogError($"鑾峰彇缁熻淇℃伅寮�濮�: {DateTime.Now}");
             }
             catch (Exception ex)

--
Gitblit v1.9.1