This commit is contained in:
aozhiwei 2021-01-14 11:44:25 +08:00
parent 32919e76e1
commit 9790bfdd6e

View File

@ -35,7 +35,7 @@ func (this *HttpServer) Init(serviceName string, logOutputTime int32) *HttpServe
this.restHandlers = make(map[string]*q5.ListHead)
this.groupHandlers = make(map[string]*q5.ListHead)
this.globalMiddlewareList.Init(nil)
this.RegisterRestHandle("/webapp/index", this.dispatchRequest)
this.RegisterRestHandle("/webapp/index.php", this.dispatchRequest)
this.RegisterHandle("Ops", "selfChecking",
func (c *Context) {
c.Response(`{"errcode":0, "errmsg":"", "healthy":1, "max_rundelay":10}`)