diff --git a/.gitignore b/.gitignore index 723ef36..8b6e688 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -.idea \ No newline at end of file +.idea +.fleet \ No newline at end of file diff --git a/model/mall.go b/model/mall.go index 51d9a9b..49fec7a 100644 --- a/model/mall.go +++ b/model/mall.go @@ -76,6 +76,7 @@ type Goods struct { DeliveryFee uint32 `json:"delivery_fee"` // 邮费 DealType uint32 `json:"deal_type"` // 1-积分兑换 2-购买 3-抵扣 VersionId uint64 `json:"version_id"` // 乐观锁 + ShowDiscount int8 `json:"show_discount"` // GoodsCat *GoodsCat `json:"goods_cat" gorm:"-"` GoodsDiscount *GoodsDiscount `json:"goods_discount" gorm:"-"`