Przeglądaj źródła

promotion for go 4

abiao 2 lat temu
rodzic
commit
9ca67cf2b2

+ 1 - 0
go/gopath/src/fohow.com/apps/models/order_model/order.go

@@ -939,6 +939,7 @@ func GetNotInvovedAmount(promotionId int64, orderId string) int64 {
 		beego.BeeLogger.Debug("GetNotInvovedAmount err=%s", err)
 		return 0
 	}
+	fmt.Println(results)
 	total := int64(0)
 	for _, item := range results {
 		item_pd := product_model.GetProductById(item.ProductId, true)