forked from lxh/go-wxhelper
14 lines
227 B
Go
14 lines
227 B
Go
package callback
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"wechat-robot/api/callback"
|
|
)
|
|
|
|
// InitRoute
|
|
// @description: 初始化路由
|
|
// @param g
|
|
func InitRoute(g *gin.RouterGroup) {
|
|
g.POST("/hook", callback.RobotHookNotify)
|
|
}
|