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)