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
13 lines
791 B
Go
13 lines
791 B
Go
package book
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
func registerBookAuthorRelationRoutes(router gin.IRoutes, routerWithoutRecord gin.IRoutes) {
|
|
router.POST("createBookAuthorRelation", bookApiGroup.BookAuthorRelationApi.CreateBookAuthorRelation)
|
|
router.DELETE("deleteBookAuthorRelation", bookApiGroup.BookAuthorRelationApi.DeleteBookAuthorRelation)
|
|
router.DELETE("deleteBookAuthorRelationByIds", bookApiGroup.BookAuthorRelationApi.DeleteBookAuthorRelationByIds)
|
|
router.PUT("updateBookAuthorRelation", bookApiGroup.BookAuthorRelationApi.UpdateBookAuthorRelation)
|
|
routerWithoutRecord.GET("findBookAuthorRelation", bookApiGroup.BookAuthorRelationApi.FindBookAuthorRelation)
|
|
routerWithoutRecord.GET("getBookAuthorRelationList", bookApiGroup.BookAuthorRelationApi.GetBookAuthorRelationList)
|
|
}
|