商品是否展示

This commit is contained in:
范俊成 2023-09-20 15:49:18 +08:00
parent b7b0cdf0a8
commit 13cb9ae408
2 changed files with 3 additions and 1 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
.idea
.idea
.fleet

View File

@ -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:"-"`