소스 검색

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