From 6c34f7de11adc942c654c84b720e43d407528be0 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sun, 1 Oct 2023 22:09:06 +0800 Subject: [PATCH] 1 --- app.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app.go b/app.go index 3d35552..9ddd3fc 100644 --- a/app.go +++ b/app.go @@ -76,6 +76,7 @@ type app struct { func (this *app) init(userApp UserApp) { this.userApp = userApp this.nowTime = time.Now() + this.ormDbHash = make(map[string]*gorm.DB) this.SetTimeOffset(0) atomic.StoreInt64(&this.nowUnixNano, this.nowTime.UnixNano()) _timer = new(timer)