Commit 8b09661f by huangchengyi

1.0

parent 454a5abc
......@@ -116,6 +116,6 @@ func Synchronization(ctx *gin.Context) {
/*
健康监测
*/
func Health(ctx *gin.Context) {
func Hbsdata(ctx *gin.Context) {
ctx.String(200, "ok")
}
......@@ -20,8 +20,8 @@ func InitRouter() *gin.Engine {
r.GET("Synchronization", controller.Synchronization)
r.POST("Synchronization",controller.Synchronization)
//心跳
r.GET("Health", controller.Health)
r.POST("Health",controller.Health)
r.GET("hbsdata", controller.Hbsdata)
r.POST("hbsdata",controller.Hbsdata)
return r
}
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