🐛 修复 Windows time.LoadLocation

This commit is contained in:
naiba
2022-03-18 23:57:30 +08:00
parent d73ceaaaa5
commit 84866384f4
3 changed files with 4 additions and 3 deletions

View File

@@ -26,6 +26,7 @@ func init() {
}
// 初始化 dao 包
singleton.Init()
singleton.Conf = &model.Config{}
singleton.Cron = cron.New(cron.WithSeconds(), cron.WithLocation(shanghai))
singleton.Crons = make(map[uint64]*model.Cron)