瀏覽代碼

update pay order product store rules

abiao 4 年之前
父節點
當前提交
9a12459e80
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      go/gopath/src/fohow.com/apps/models/order_model/order.go

+ 3 - 0
go/gopath/src/fohow.com/apps/models/order_model/order.go

@@ -700,6 +700,9 @@ func GetPaiedOrderByWxUIdAndPayWayLimitOne(wxUserId int64, payWay string, useCac
 func UpdateSaleNums(saleProducts map[int64]int64) bool {
 
 	for pId, nums := range saleProducts {
+
+		beego.BeeLogger.Error("pId,Nums %d--%d", pId, nums)
+
 		product := product_model.GetProductById(pId, true)
 		if product == nil {
 			continue