We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6f3038 commit 3f564e8Copy full SHA for 3f564e8
server/initialize/router.go
@@ -41,7 +41,7 @@ func Routers() *gin.Engine {
41
{
42
// 健康监测
43
PublicGroup.GET("/health", func(c *gin.Context) {
44
- c.JSON(200, "ok")
+ c.JSON(http.StatusOK, "ok")
45
})
46
}
47
0 commit comments