소스 검색

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