瀏覽代碼

promotion for go 6

abiao 2 年之前
父節點
當前提交
9ddf26f68c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      go/gopath/src/fohow.com/apps/models/order_model/order.go

+ 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 := `