- mtps added.
- refactor.
This commit is contained in:
3
main.go
3
main.go
@@ -1,12 +1,13 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
_ "git.rosy.net.cn/jx-callback/business"
|
||||
"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"
|
||||
|
||||
Reference in New Issue
Block a user