Files
2026-10-08 16:50:13 +08:00

24 lines
603 B
Go

package router
import (
"91jd-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)
}
}