@@ -0,0 +1,20 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user