This commit is contained in:
aozhiwei 2023-10-01 22:09:06 +08:00
parent 7c78c84b2b
commit 6c34f7de11

1
app.go
View File

@ -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)