20 lines
542 B
Go
20 lines
542 B
Go
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)
|
|
}
|
|
}
|