abiao 2 роки тому
батько
коміт
9ddf26f68c

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

@@ -915,8 +915,8 @@ func GenExpressPassword(expressNo string) string {
 func GetNotInvovedAmount(promotionId int64, orderId string) int64 {
 
 	type PromotionPds struct {
-		ProductId int64 `orm:"column(product_id)"`
-		Nums      int64 `orm:"column(nums)"`
+		ProductId int64 `orm:"column(product_id)"                               json:"product_id"` // int(11)
+		Nums      int64 `orm:"column(nums)"                                     json:"nums"`       // int(11)
 	}
 
 	sql := `