✨ add comment and reply framework
This commit is contained in:
12
router/modules/comment_router.go
Normal file
12
router/modules/comment_router.go
Normal 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)
|
||||
}
|
Reference in New Issue
Block a user