CrazyIter_Bin 2 years ago
parent
commit
6d5329b95d
1 changed files with 9 additions and 1 deletions
  1. 9 1
      TEAMModelOS.FunctionV4/TimeTrigger/IESTimerTrigger.cs

+ 9 - 1
TEAMModelOS.FunctionV4/TimeTrigger/IESTimerTrigger.cs

@@ -50,7 +50,15 @@ namespace TEAMModelOS.FunctionV4.TimeTrigger
         //public async Task FireWallFileLog([TimerTrigger("0 */1 * * * *")] TimerInfo myTimer, ILogger log)
         //{
         //    await _dingDing.SendBotMsg($"FireWallFileLog 防火墙日志记录(测试): {DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}", GroupNames.成都开发測試群組);
-        //    await BILogAnalyseService.GetPathAnalyse(_azureStorage,"", "LogStorage");
+        //    string location = Environment.GetEnvironmentVariable("Option:Location");
+        //    if (location.Contains("China"))
+        //    {
+
+        //    }
+        //    else if (location.Contains("Global")) { 
+            
+        //    }
+        //    await BILogAnalyseService.GetPathAnalyse(_azureStorage, "", "LogStorage");
         //}
     }
 }