18 lines
430 B
Go
Executable File
18 lines
430 B
Go
Executable File
package router
|
|
|
|
import (
|
|
"91porn-server/app/api/mediabookshelfctrl"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// mediaBookshelf 移动端接口
|
|
func mediaBookshelfRouter(router *gin.RouterGroup) {
|
|
group := router.Group("/media_bookshelf")
|
|
{
|
|
group.GET("/list", mediabookshelfctrl.List)
|
|
group.POST("/add", mediabookshelfctrl.Add)
|
|
group.POST("/del/batch", mediabookshelfctrl.DelBatch)
|
|
group.POST("/del", mediabookshelfctrl.Del)
|
|
}
|
|
}
|