14 lines
226 B
Go
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)
|
|
}
|