Roc 3 years ago
parent
commit
faf37e861c
1 changed files with 0 additions and 2 deletions
  1. 0 2
      main.go

+ 0 - 2
main.go

@@ -2,7 +2,6 @@ package main
 
 import (
 	"fmt"
-	"github.com/beego/beego/v2/client/orm"
 	_ "hongze/hongze_edb_lib/routers"
 	"hongze/hongze_edb_lib/utils"
 	"runtime"
@@ -15,7 +14,6 @@ import (
 
 func main() {
 	if web.BConfig.RunMode == "dev" {
-		orm.Debug = true //orm日志开启
 		web.BConfig.WebConfig.DirectoryIndex = true
 		web.BConfig.WebConfig.StaticDir["/swagger"] = "swagger"
 	}