|
|
|
@ -11,7 +11,7 @@ type Coupon struct {
|
|
|
|
ID int `json:"id"` // 优惠券ID
|
|
|
|
ID int `json:"id"` // 优惠券ID
|
|
|
|
Name string `json:"name"` // 优惠券名称
|
|
|
|
Name string `json:"name"` // 优惠券名称
|
|
|
|
Type string `json:"type"` // 优惠券类型
|
|
|
|
Type string `json:"type"` // 优惠券类型
|
|
|
|
GoodsIDs string `json:"goods_ids"` // 商品ID
|
|
|
|
GoodsID string `json:"goods_ids"` // 商品ID
|
|
|
|
Amount string `json:"amount"` // 优惠券金额
|
|
|
|
Amount string `json:"amount"` // 优惠券金额
|
|
|
|
Enough string `json:"enough"` // 满足条件金额
|
|
|
|
Enough string `json:"enough"` // 满足条件金额
|
|
|
|
Stock int `json:"stock"` // 库存数量
|
|
|
|
Stock int `json:"stock"` // 库存数量
|
|
|
|
|