go-wxhelper/router/callback/route.go

14 lines
227 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) {
2024-02-19 14:57:36 +08:00
g.POST("/hook", callback.RobotHookNotify)
2024-01-19 12:06:30 +08:00
}