Explorar el Código

商品规格更改返回

abiao hace 5 años
padre
commit
8f33de1039

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

@@ -313,7 +313,7 @@ func (self *ProductController) GetProductSizesByPid() {
 					for _, attr := range attrList {
 						prod := product_model.GetProductByIdAndSizeId(product.RelateProductId, attr.Id, true)
 						if prod == nil {
-							continue
+							//continue
 						}
 						size := &product_model.ProductAttr{}
 						size.Id = attr.Id
@@ -328,7 +328,7 @@ func (self *ProductController) GetProductSizesByPid() {
 					for _, attr := range attrList {
 						prod := product_model.GetProductByIdAndColorId(product.RelateProductId, attr.Id, true)
 						if prod == nil {
-							continue
+							//continue
 						}
 
 						size := &product_model.ProductAttr{}