fix: zabbix 请求 localhost 出现 404

This commit is contained in:
2024-08-23 17:04:39 +08:00
parent 0f4c565250
commit 228ec26904
3 changed files with 6 additions and 6 deletions

11
router/handler/hello.go Normal file
View File

@ -0,0 +1,11 @@
package handler
import (
"github.com/gin-gonic/gin"
)
func Hello(c *gin.Context) {
c.JSON(200, gin.H{
"message": "Hello, World!",
})
}