21 lines
528 B
Go
21 lines
528 B
Go
package router
|
|
|
|
import (
|
|
"91porn-server/app/api/searchctrl"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func searchRouter(router *gin.RouterGroup) {
|
|
group := router.Group("/search")
|
|
{
|
|
group.GET("/index", searchctrl.IndexList)
|
|
group.POST("/list", searchctrl.List)
|
|
group.GET("/wonder/list", searchctrl.WonderTagList)
|
|
group.GET("/hotTag", searchctrl.HotTagSearch)
|
|
group.GET("/hotVid/list", searchctrl.HotVid)
|
|
group.GET("/hotPublisher/list", searchctrl.HotPublisher)
|
|
group.GET("/publisher/list", searchctrl.PublisherList)
|
|
}
|
|
}
|