lcl 7 hónapja
szülő
commit
fe82644518
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      Controllers/HomeController.cs

+ 4 - 0
Controllers/HomeController.cs

@@ -80,6 +80,10 @@ namespace MySystem.Controllers
             string topic = condiList[0];
             string keyword = condiList[1];
             string month = condiList[2];
+            if(topic.EndsWith("推送消息"))
+            {
+                logstore = "spserver";
+            }
             IList<IDictionary<string, string>> logs = await SLS.GetLogs(logstore, topic, "* and content: " + keyword, DateTimeOffset.Now.AddMonths(-int.Parse(month)));
             return logs;
         }