yirenyishi 6 years ago
parent
commit
e61bcae04f
  1. 2
      main.go

2
main.go

@ -14,7 +14,7 @@ func init() {
beego.InsertFilter("/*", beego.FinishRouter, filter.FilterLoginInfo) beego.InsertFilter("/*", beego.FinishRouter, filter.FilterLoginInfo)
} }
func main() { func main() {
orm.Debug = true orm.Debug = false
orm.RunSyncdb("default", false, true) orm.RunSyncdb("default", false, true)
beego.AddFuncMap("NAdd",NAdd) beego.AddFuncMap("NAdd",NAdd)
beego.Run() beego.Run()

Loading…
Cancel
Save