Files
web_hgtv_server/app/router/comment.go
T
rootandClaude Opus 5.5 7974a42301 Initial commit
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 11:07:42 +08:00

19 lines
397 B
Go

package router
import (
"videoweb/app/api/commentapi"
"github.com/gin-gonic/gin"
)
func commentRouter(r *gin.Engine) {
r.POST("/comment/send/", commentapi.SendComment)
group := r.Group("/api/app/comment")
{
group.POST("/send", commentapi.SendComment)
group.POST("/send/", commentapi.SendComment)
group.GET("/list", commentapi.List)
group.POST("/like/set", commentapi.SetLike)
}
}