Parcourir la source

promotion add products

abiao il y a 5 ans
Parent
commit
99fbbe4f00
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      go/gopath/src/fohow.com/apps/helpers/promotion_helper.go

+ 1 - 1
go/gopath/src/fohow.com/apps/helpers/promotion_helper.go

@@ -97,7 +97,7 @@ func SetOrderPromotion(orderId string, wxUid int64) {
 			nums6 = int64(0)
 			detail5 := order_model.GetDetailsByOrderIdAndPid(orderId, item.Prod5)
 			if detail5 != nil && item.Prod5 > 0 && item.Nums5 > 0 {
-				nums6 = int64(detail5.Count / item.Nums4)
+				nums6 = int64(detail5.Count / item.Nums5)
 			}
 		}