|
|
@@ -59,7 +59,7 @@ func rScheme(r *gin.RouterGroup) { |
|
|
|
r.POST("/updateSchemeState", hdl.UpdateSchemeState) |
|
|
|
r.DELETE("/delete/:id", hdl.DeleteScheme) |
|
|
|
r.GET("/goodsList", goodsHdl.GetMallGoodsList) |
|
|
|
r.GET("/goodsDetail", hdl.GoodsDetail) |
|
|
|
r.GET("/goodsDetail", hdl.SchemeGoodsDetail) |
|
|
|
r.POST("/saveSchemeGoods", hdl.SaveSchemeGoods) |
|
|
|
} |
|
|
|
|
|
|
@@ -99,7 +99,7 @@ func rCategory(r *gin.RouterGroup) { |
|
|
|
func rGoods(r *gin.RouterGroup) { |
|
|
|
r.POST("/del", goodsHdl.DelMallGoods) |
|
|
|
r.POST("/add", goodsHdl.AddMallGoods) |
|
|
|
r.GET("/detail", goodsHdl.MallGoodsDetail) |
|
|
|
r.GET("/detail", goodsHdl.GetGoodsDetail) |
|
|
|
r.GET("/list", goodsHdl.GetMallGoodsList) |
|
|
|
r.GET("/checkSkuCode", goodsHdl.CheckSkuCode) |
|
|
|
r.POST("/change-sale-state", goodsHdl.ChangeSaleState) |
|
|
|