diff --git a/main.go b/main.go index 7eb1dccde..24850c004 100644 --- a/main.go +++ b/main.go @@ -31,6 +31,9 @@ import ( _ "git.rosy.net.cn/jx-callback/business/partner/purchase/mtwm" _ "git.rosy.net.cn/jx-callback/business/partner/purchase/weimob/wsc" + "net/http" + _ "net/http/pprof" + _ "git.rosy.net.cn/jx-callback/business/jxstore/act" "github.com/astaxie/beego" ) @@ -146,6 +149,9 @@ func main() { beego.BConfig.WebConfig.DirectoryIndex = true beego.BConfig.WebConfig.StaticDir["/swagger"] = "swagger" } + go func() { + http.ListenAndServe("0.0.0.0:8899", nil) + }() beego.Run() } }