修改不能bee不能读取配置的bug

This commit is contained in:
郝大全
2017-06-28 18:25:10 +08:00
parent 23be458a95
commit fbd1f9e1a7
2 changed files with 7 additions and 5 deletions

View File

@@ -13,9 +13,10 @@ const (
func init() {
//初始化数据模型
beego.LoadAppConfig("ini", "src/github.com/george518/PPGo_Job/conf/app.conf")
models.Init()
}
func main() {
beego.Run()
}
}