Просмотр исходного кода

增加商品 规格 + 颜色接口

abiao лет назад: 5
Родитель
Сommit
577e5c38d3

+ 1 - 1
go/gopath/src/fohow.com/apps/controllers/product_controller/product_controller.go

@@ -234,7 +234,7 @@ func (self *ProductController) GetNeedShare() {
 
 //获取某个商品关联规格列表
 func (self *ProductController) GetProductSizesByPid() {
-	_id := self.Ctx.Input.Param(":product_id")
+	_id := self.Ctx.Input.Param(":id")
 	pId, _ := strconv.ParseInt(_id, 10, 64)
 
 	type Ret struct {