go-wxhelper/router/callback/route.go
2024-01-19 12:06:30 +08:00

14 lines
226 B
Go

package callback
import (
"github.com/gin-gonic/gin"
"wechat-robot/api/callback"
)
// InitRoute
// @description: 初始化路由
// @param g
func InitRoute(g *gin.RouterGroup) {
g.GET("/hook", callback.RobotHookNotify)
}