doc: 增加代码注释

This commit is contained in:
2026-05-23 12:19:33 +08:00
parent 6801072671
commit 72497d8dc1
4 changed files with 18 additions and 8 deletions
+1
View File
@@ -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"}))
}