Explorar el Código

商品model更改

abiao hace 5 años
padre
commit
6f1a49ac48
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      go/gopath/src/fohow.com/routers/routes.go

+ 1 - 1
go/gopath/src/fohow.com/routers/routes.go

@@ -88,7 +88,7 @@ func init() {
 	//商品规格明细
 	beego.Router("/v1/product_size/:id([0-9]+)", &product_controller.ProductController{}, "get:GetProductSizesByPid")
 	//商品详情 by size + color
-	beego.Router("/v1/product/:id([0-9]+)/:size_id([0-9]+)/:color_id([0-9]+)", &product_controller.ProductController{}, "get:GetPdDetail")
+	beego.Router("/v1/product_detail/:id([0-9]+)/:size_id([0-9]+)/:color_id([0-9]+)", &product_controller.ProductController{}, "get:GetPdDetail")
 
 	//----------- 订单相关 -----------
 	//商品下单