ソースを参照

promotion add products

abiao 5 年 前
コミット
99fbbe4f00
共有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

@@ -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)
 			}
 		}