Explorar el Código

商品规格更改返回

abiao hace 5 años
padre
commit
2437a748f9
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      go/gopath/src/fohow.com/apps/models/product_model/product.go

+ 2 - 0
go/gopath/src/fohow.com/apps/models/product_model/product.go

@@ -335,6 +335,8 @@ func GetProductByIdAndSizeId(relateId, sizeId int64, useCache bool) *Product {
 			return v
 		}
 	}
+	beego.BeeLogger.Warn("size_id --- %d size_id --- %d", relateId, sizeId)
+
 	item := new(Product)
 	o := orm.NewOrm()
 	if err := o.QueryTable(item).Filter("relate_product_id", relateId).Filter("size_id", sizeId).One(item); err != nil {