go-wxhelper/router/callback/route.go

14 lines
226 B
Go
Raw Normal View History

2024-01-19 12:06:30 +08:00
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)
}