You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dongfeng-pay/jhboss/main.go

18 lines
407 B
Go

5 years ago
package main
import (
_ "dongfeng-pay/jhboss/routers"
_ "dongfeng-pay/service/message_queue"
_ "dongfeng-pay/service/models"
"dongfeng-pay/service/service_init"
5 years ago
"github.com/astaxie/beego"
"github.com/astaxie/beego/logs"
5 years ago
)
func main() {
//设置日志打印
logs.SetLogger(logs.AdapterFile, `{"filename":"jhboss.log", "level":7, "daily":true, "maxdays":10}`)
service_init.InitAll()
beego.Run()
}