Skip to content

Commit

Permalink
tg msg tag
Browse files Browse the repository at this point in the history
  • Loading branch information
csznet committed Oct 30, 2024
1 parent cea0435 commit 75cdaf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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++ {
Expand All @@ -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 {
Expand Down

0 comments on commit 75cdaf4

Please sign in to comment.