health-go/handler/defaultHandler.go

14 lines
193 B
Go
Raw Normal View History

2024-11-14 01:15:55 +08:00
package handler
2024-10-17 23:52:10 +08:00
import (
"github.com/gin-gonic/gin"
)
func TestPage(c *gin.Context) {
c.JSON(200, gin.H{
"code": 200,
"msg": "test",
"data": map[string]string{"test": "test"},
})
}