package router import ( "videoweb/web/api/web_homebanner" "github.com/gin-gonic/gin" ) func homeBannerRouter(router *gin.RouterGroup) { group := router.Group("/home/banner") { group.GET("/list", web_homebanner.List) group.POST("/add", web_homebanner.Add) group.POST("/update", web_homebanner.Update) group.POST("/del", web_homebanner.Del) } }