@@ -0,0 +1,18 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"91porn-server/web/api/promoteurlctrl"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func promoteUrlRouter(router *gin.RouterGroup) {
|
||||
group := router.Group("/promoteUrl")
|
||||
{
|
||||
//商品管理
|
||||
group.GET("/list", promoteurlctrl.FindMany)
|
||||
group.POST("/update", promoteurlctrl.Update)
|
||||
group.POST("/insert", promoteurlctrl.Insert)
|
||||
group.DELETE("/delete", promoteurlctrl.Delete)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user