update
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user