pull/25/merge
lifei6671 2017-05-01 17:43:33 +08:00
parent fddc6e94cd
commit e6726562ce
1 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ import (
) )
func main() { func main() {
fmt.Println(os.Args[0])
commands.RegisterDataBase() commands.RegisterDataBase()
commands.RegisterModel() commands.RegisterModel()
commands.RegisterLogger() commands.RegisterLogger()
@ -18,8 +18,8 @@ func main() {
commands.RegisterFunction() commands.RegisterFunction()
beego.SetStaticPath("uploads","uploads") beego.SetStaticPath("uploads","uploads")
fmt.Println(os.Args[0])
beego.Run() beego.Run()
} }