Initial commit: web_hghl_server
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"videoweb/app/api/commentapi"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func commentRouter(r *gin.Engine) {
|
||||
r.GET("/api/app/comment/list", commentapi.List)
|
||||
r.POST("/api/app/comment/send", commentapi.SendComment)
|
||||
r.POST("/api/app/comment/like/set", commentapi.SetLike)
|
||||
}
|
||||
Reference in New Issue
Block a user