This commit is contained in:
lifei6671 2017-05-01 17:26:59 +08:00
parent 94084e0e41
commit 9de982bae3

View File

@ -10,6 +10,7 @@ import (
)
func main() {
fmt.Println(os.Args[0])
commands.RegisterDataBase()
commands.RegisterModel()
commands.RegisterLogger()
@ -19,6 +20,6 @@ func main() {
beego.SetStaticPath("uploads","uploads")
fmt.Printf("%+v",os.Args)
beego.Run()
}