15 lines
348 B
Go
15 lines
348 B
Go
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)
|
|
router.POST("/auth/reply/submit", commonApi.ReplySubmit)
|
|
router.POST("/auth/comment/list", commonApi.CommentList)
|
|
}
|