ソースを参照

promotion add products

abiao 5 年 前
コミット
c7c581e688
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  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

@@ -87,7 +87,7 @@ func SetOrderPromotion(orderId string, wxUid int64) {
 
 		if item.Prod4 > 0 {
 			nums5 = int64(0)
-			detail4 := order_model.GetDetailsByOrderIdAndPid(orderId, item.Prod3)
+			detail4 := order_model.GetDetailsByOrderIdAndPid(orderId, item.Prod4)
 			if detail4 != nil && item.Prod4 > 0 && item.Nums4 > 0 {
 				nums5 = int64(detail4.Count / item.Nums4)
 			}