add comment and reply framework

This commit is contained in:
landaiqing
2024-09-19 18:44:53 +08:00
parent ef5d7daa10
commit 8d5d918a7d
11 changed files with 80 additions and 20 deletions

View File

@@ -0,0 +1,12 @@
package modules
import (
"github.com/gin-gonic/gin"
"schisandra-cloud-album/api"
)
var commonApi = api.Api.CommonApi
func CommentRouter(router *gin.RouterGroup) {
router.POST("/auth/comment/submit", commonApi.CommentSubmit)
}