package router import ( "91porn-server/web/api/commentctrl" "github.com/gin-gonic/gin" ) func commentRouter(router *gin.RouterGroup) { group := router.Group("/comment") { group.GET("/list", commentctrl.List) group.GET("/info", commentctrl.Info) group.POST("/send", commentctrl.Send) group.POST("/delete", commentctrl.Delete) group.POST("/access", commentctrl.Access) group.POST("/batch/access", commentctrl.BatchAccess) group.POST("/update", commentctrl.Update) group.POST("/importExcel", commentctrl.AddContentExcel) group.POST("/importComment", commentctrl.ImportComment) } }