Skip to content

Commit

Permalink
Merge pull request mindoc-org#660 from aix3/master
Browse files Browse the repository at this point in the history
解决文档发布之后内容为空白
  • Loading branch information
gsw945 authored Mar 19, 2021
2 parents 78ca07b + 84c8559 commit b97b411
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b97b411

Please sign in to comment.