Commit 51b46590 by 孙龙

up

parent 04955893
Showing with 3 additions and 0 deletions
......@@ -15,6 +15,9 @@ func InitRouter(middlewares ...gin.HandlerFunc) *gin.Engine {
"message": "pong",
})
})
router.GET("/hbsdata", func(c *gin.Context) {
c.Writer.Write([]byte("ok"))
})
//router.GET("/test", func(c *gin.Context) {
// c.JSON(200, gin.H{
// "message": "test",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment