Initial commit
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user