init: web_hgdjc_server
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user