19 lines
398 B
Go
19 lines
398 B
Go
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)
|
|
}
|
|
}
|