From 3e9cf4df58f5d8266e606fff63cb9da1105a4dcf Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期三, 02 九月 2020 11:54:44 +0800 Subject: [PATCH] fix night push,push to manager if car left --- main.go | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 6b31762..1af406e 100644 --- a/main.go +++ b/main.go @@ -15,8 +15,6 @@ beego.BConfig.WebConfig.StaticDir["/swagger"] = "swagger" } models.InitDb() - controllers.InitRestriction() - controllers.Schedule() go controllers.ComputeSpaceLeftRealTime() //姣忓ぉ鍚屾娴峰悍鏁版嵁锛岀湅浜哄憳id鏄惁鏈夊彂鐢熷彉鍖� c := cron.New() -- Gitblit v1.8.0