@@ -0,0 +1,21 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"91porn-server/web/api/tonectrl"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func toneRoute(router *gin.RouterGroup) {
|
||||
group := router.Group("/vid/tone")
|
||||
{
|
||||
group.GET("/list", tonectrl.List)
|
||||
group.POST("/update", tonectrl.Update)
|
||||
}
|
||||
group = router.Group("/api/web/vid/tone/offi_recom")
|
||||
{
|
||||
group.GET("/list", tonectrl.OffiRecomList)
|
||||
group.POST("/add", tonectrl.OffiRecomAdd)
|
||||
group.DELETE("/delete", tonectrl.OffiRecomDelete)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user