From 84c855902e47da4d249eacf11ea2700a200ae983 Mon Sep 17 00:00:00 2001 From: ai*3 Date: Tue, 16 Mar 2021 12:45:12 +0800 Subject: [PATCH] Update command.go --- commands/command.go | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/command.go b/commands/command.go index e9edaa05..3e82dde7 100644 --- a/commands/command.go +++ b/commands/command.go @@ -34,6 +34,7 @@ func RegisterDataBase() { beego.Info("正在初始化数据库配置.") adapter := beego.AppConfig.String("db_adapter") orm.DefaultTimeLoc = time.Local + orm.DefaultRowsLimit = -1 if strings.EqualFold(adapter, "mysql") { host := beego.AppConfig.String("db_host")