Forráskód Böngészése

update pay order product store rules

abiao 4 éve
szülő
commit
9a12459e80

+ 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