dongfeng-pay/jhboss/main.go

18 lines
407 B
Go
Raw Normal View History

2019-12-19 14:47:58 +08:00
package main
import (
2019-12-19 16:43:20 +08:00
_ "dongfeng-pay/jhboss/routers"
_ "dongfeng-pay/service/message_queue"
_ "dongfeng-pay/service/models"
"dongfeng-pay/service/service_init"
2019-12-21 15:04:43 +08:00
"github.com/astaxie/beego"
"github.com/astaxie/beego/logs"
2019-12-19 14:47:58 +08:00
)
func main() {
//设置日志打印
logs.SetLogger(logs.AdapterFile, `{"filename":"jhboss.log", "level":7, "daily":true, "maxdays":10}`)
service_init.InitAll()
beego.Run()
}