package router import ( "videoweb/web/api/web_commend" "github.com/gin-gonic/gin" ) func commentRouter(router *gin.RouterGroup) { group := router.Group("/post") { group.POST("/comment/list", web_commend.SearchManyCommend) group.POST("/comment/replay", web_commend.ReplayPostComment) group.POST("/comment/del", web_commend.DelCommend) group.POST("/comment/user/del", web_commend.DelUserCommend) group.POST("/comment/reviewBatch", web_commend.ReviewCommendBatch) group.POST("/comment/review", web_commend.ReviewComment) } }