From 75cdaf4245b376801475cd5c8408554bc31aa649 Mon Sep 17 00:00:00 2001 From: csznet Date: Wed, 30 Oct 2024 22:02:31 +0800 Subject: [PATCH] tg msg tag --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 1bce8be..5e89402 100644 --- a/main.go +++ b/main.go @@ -16,7 +16,7 @@ func main() { for _, mata := range conf.Config.Mata { log.Println("开始检测" + mata.Target) send := false - msg := "服务器在线" + msg := "#MATA 服务器在线" onlineCount := 0 online := false for i := 0; i < 3; i++ { @@ -37,7 +37,7 @@ func main() { utils.Dns(mata.Main, dns.ID, mata.Main.ZoneID) } } else { - msg = "服务器离线" + msg = "#MATA 服务器离线" log.Println(msg) ok, dns := utils.GetDnsRecoid(mata.Then.Name, mata.Then.ZoneID) if ok && dns.Content != mata.Then.Content {