Browse Source

统计交易额到RDS时间间隔

lcl 2 years ago
parent
commit
8499e3b95e
1 changed files with 5 additions and 2 deletions
  1. 5 2
      AppStart/Helper/StatNewService.cs

+ 5 - 2
AppStart/Helper/StatNewService.cs

@@ -20,7 +20,7 @@ namespace MySystem
 
 
 
-        // 统计交易额V2
+        // 统计交易额到RDS
         public void StartStat()
         {
             Thread th = new Thread(StartStatDo);
@@ -37,7 +37,10 @@ namespace MySystem
                     StatTradeAmount(content, 1);
                     StatTradeAmount(content, 2);
                 }
-                Thread.Sleep(10000);
+                else
+                {
+                    Thread.Sleep(10000);
+                }
             }
         }
         public void StatTradeAmount(string content, int Kind)