From 1be21dd8594c3db91e4a0c1c7e5fc6fd9283fa57 Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Tue, 14 Sep 2021 09:30:56 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=B1=8F=E8=94=BD=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/deamon.go | 2 +- models/init.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/models/deamon.go b/models/deamon.go index 0a6910c..70b25a1 100644 --- a/models/deamon.go +++ b/models/deamon.go @@ -26,7 +26,7 @@ func Daemon() { if err != nil { panic(err) } - logs.Info("小滴滴运行于deamon模式") + logs.Info("小滴滴运行于后台模式") os.Exit(0) } diff --git a/models/init.go b/models/init.go index e9bd805..fc04d99 100644 --- a/models/init.go +++ b/models/init.go @@ -23,13 +23,13 @@ func init() { initConfig() initDB() go initVersion() - go initUserAgent() + //go initUserAgent() initContainer() initHandle() initCron() go initTgBot() InitReplies() initTask() - initRepos() + //initRepos() intiSky() }