Files
xuanzhi-service/server/router/book/book_comment.go
wdh-home 1e33640629
Some checks failed
CI / init (pull_request) Has been cancelled
CI / Frontend node 18.16.0 (pull_request) Has been cancelled
CI / Backend go (1.22) (pull_request) Has been cancelled
CI / release-pr (pull_request) Has been cancelled
CI / devops-test (1.22, 18.16.0) (pull_request) Has been cancelled
CI / release-please (pull_request) Has been cancelled
CI / devops-prod (1.22, 18.x) (pull_request) Has been cancelled
CI / docker (pull_request) Has been cancelled
基础项目
2026-04-26 15:32:21 +08:00

13 lines
658 B
Go

package book
import "github.com/gin-gonic/gin"
func registerBookCommentRoutes(router gin.IRoutes, routerWithoutRecord gin.IRoutes) {
router.POST("createBookComment", bookApiGroup.BookCommentApi.CreateBookComment)
router.DELETE("deleteBookComment", bookApiGroup.BookCommentApi.DeleteBookComment)
router.DELETE("deleteBookCommentByIds", bookApiGroup.BookCommentApi.DeleteBookCommentByIds)
router.PUT("updateBookComment", bookApiGroup.BookCommentApi.UpdateBookComment)
routerWithoutRecord.GET("findBookComment", bookApiGroup.BookCommentApi.FindBookComment)
routerWithoutRecord.GET("getBookCommentList", bookApiGroup.BookCommentApi.GetBookCommentList)
}