Ver Fonte

统计交易额到RDS时间间隔

lcl há 3 anos atrás
pai
commit
8499e3b95e
1 ficheiros alterados com 5 adições e 2 exclusões
  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)