doc: 增加代码注释
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
// Health 健康检查接口,返回服务运行状态。
|
||||
func Health(c *gin.Context) {
|
||||
c.JSON(200, model.OK(gin.H{"status": "healthy"}))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user