1.优惠券Coupon表增加规则字段rule;

This commit is contained in:
chenlin 2024-07-24 09:50:00 +08:00
parent 092f8fba5d
commit 06a35591a8

View File

@ -26,7 +26,8 @@ type Coupon struct {
Model
Name string `json:"name"`
Describe string `json:"describe" gorm:"type:text;"` // 描述
Describe string `json:"describe" gorm:"type:text"` // 描述
Rule string `json:"rule" gorm:"type:text"` // 优惠券使用规则
CouponType string `json:"coupon_type"`
ActivityType uint32 `json:"activity_type"` // 活动类型 1-会员续费 2-关注公众号 3-运费包 4-开通会员2024/7/17新增
ActivityId uint32 `json:"activity_id" gorm:"index"`