Explorar el Código

统计交易额到RDS时间间隔

lcl hace 2 años
padre
commit
8499e3b95e
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  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)