소스 검색

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