1.优惠券Coupon表增加规则字段rule;
This commit is contained in:
parent
092f8fba5d
commit
06a35591a8
|
@ -26,7 +26,8 @@ type Coupon struct {
|
||||||
Model
|
Model
|
||||||
|
|
||||||
Name string `json:"name"`
|
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"`
|
CouponType string `json:"coupon_type"`
|
||||||
ActivityType uint32 `json:"activity_type"` // 活动类型 1-会员续费 2-关注公众号 3-运费包 4-开通会员(2024/7/17新增)
|
ActivityType uint32 `json:"activity_type"` // 活动类型 1-会员续费 2-关注公众号 3-运费包 4-开通会员(2024/7/17新增)
|
||||||
ActivityId uint32 `json:"activity_id" gorm:"index"`
|
ActivityId uint32 `json:"activity_id" gorm:"index"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user