update
This commit is contained in:
parent
c05a9c3181
commit
0bbe303945
@ -94,6 +94,7 @@ func GetGinApp() *gin.Engine {
|
||||
logrus.Printf("used %d ms %s %s query: %s body: %s", time.Since(began).Milliseconds(), c.Request.Method, c.FullPath(), c.Request.URL.RawQuery, body)
|
||||
|
||||
})
|
||||
app.Any("/api/ping", func(c *gin.Context) { c.JSON(200, M{"msg": "pong"}) })
|
||||
return app
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user