|
@@ -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"
|
|
|
}
|