From 365c4502941d6d9e5205840db1bc9a6218c6a3b3 Mon Sep 17 00:00:00 2001 From: cdle <798731886@qq.com> Date: Thu, 23 Sep 2021 22:00:52 +0800 Subject: [PATCH] update --- core/test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/test.go b/core/test.go index 98b26ec..15cddbb 100644 --- a/core/test.go +++ b/core/test.go @@ -15,6 +15,7 @@ func init() { vv := strings.Split(v, " ") tp, cd, ud := vv[0], Int(vv[1]), Int(vv[2]) if tp == "fake" { + time.Sleep(time.Second * 5) NotifyMasters("自动更新完成。") return } @@ -52,7 +53,6 @@ func initSys() { Cron: "*/1 * * * *", Admin: true, Handle: func(s Sender) interface{} { - fmt.Println("检查更新。。。") s.Reply("开始检查核心更新...", E) update := false record := func(b bool) {