Files
xuanzhi-service/server/router/book/book_author.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
639 B
Go

package book
import "github.com/gin-gonic/gin"
func registerBookAuthorRoutes(router gin.IRoutes, routerWithoutRecord gin.IRoutes) {
router.POST("createBookAuthor", bookApiGroup.BookAuthorApi.CreateBookAuthor)
router.DELETE("deleteBookAuthor", bookApiGroup.BookAuthorApi.DeleteBookAuthor)
router.DELETE("deleteBookAuthorByIds", bookApiGroup.BookAuthorApi.DeleteBookAuthorByIds)
router.PUT("updateBookAuthor", bookApiGroup.BookAuthorApi.UpdateBookAuthor)
routerWithoutRecord.GET("findBookAuthor", bookApiGroup.BookAuthorApi.FindBookAuthor)
routerWithoutRecord.GET("getBookAuthorList", bookApiGroup.BookAuthorApi.GetBookAuthorList)
}