mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-11-16 23:49:20 +08:00
18 lines
407 B
Go
18 lines
407 B
Go
package main
|
|
|
|
import (
|
|
_ "dongfeng-pay/jhboss/routers"
|
|
_ "dongfeng-pay/service/message_queue"
|
|
_ "dongfeng-pay/service/models"
|
|
"dongfeng-pay/service/service_init"
|
|
"github.com/astaxie/beego"
|
|
"github.com/astaxie/beego/logs"
|
|
)
|
|
|
|
func main() {
|
|
//设置日志打印
|
|
logs.SetLogger(logs.AdapterFile, `{"filename":"jhboss.log", "level":7, "daily":true, "maxdays":10}`)
|
|
service_init.InitAll()
|
|
beego.Run()
|
|
}
|