@@ -0,0 +1,19 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"91porn-server/web/api/productBenefitctrl"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func productBenefitRouter(router *gin.RouterGroup) {
|
||||
group := router.Group("/productBenefit")
|
||||
{
|
||||
//商品管理
|
||||
group.GET("/list", productBenefitctrl.GetProductBenefitList)
|
||||
group.POST("/update", productBenefitctrl.UpdateProductBenefit)
|
||||
group.POST("/add", productBenefitctrl.AddProductBenefit)
|
||||
group.DELETE("/del", productBenefitctrl.DeleteProductBenefit)
|
||||
group.GET("/all/list", productBenefitctrl.GetAllProductBenefitList)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user