Files
jx-callback/main.go
gazebo 03c7efbe1e - mtps added.
- refactor.
2018-06-18 12:03:53 +08:00

17 lines
350 B
Go

package main
import (
"git.rosy.net.cn/jx-callback/business/jd/controller"
_ "git.rosy.net.cn/jx-callback/routers"
"github.com/astaxie/beego"
)
func main() {
controller.InitOrder()
if beego.BConfig.RunMode == "dev" {
beego.BConfig.WebConfig.DirectoryIndex = true
beego.BConfig.WebConfig.StaticDir["/swagger"] = "swagger"
}
beego.Run()
}