新增分享码功能
This commit is contained in:
@@ -11,6 +11,13 @@ func NewHealthHandler() *HealthHandler {
|
||||
return &HealthHandler{}
|
||||
}
|
||||
|
||||
// Check 健康检查
|
||||
//
|
||||
// @Summary 健康检查
|
||||
// @Tags System
|
||||
// @Produce json
|
||||
// @Success 200 {object} object
|
||||
// @Router /api/v1/health [get]
|
||||
func (h *HealthHandler) Check(c *gin.Context) {
|
||||
response.OK(c, gin.H{
|
||||
"status": "up",
|
||||
|
||||
Reference in New Issue
Block a user