优惠券相关逻辑
This commit is contained in:
@@ -285,6 +285,7 @@ type Coupons struct {
|
||||
CreateTime time.Time `gorm:"type:timestamp;default:CURRENT_TIMESTAMP" json:"createTime"` //创建时间
|
||||
UpdateTime time.Time `gorm:"type:timestamp;default:CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP" json:"-"` //更新时间
|
||||
Status int `gorm:"default:1" json:"-"` //数据状态
|
||||
SendStatus int `gorm:"not null" json:"-"` //下发类型 1领取 2新用户注册赠送 3邀请新用户赠送
|
||||
}
|
||||
|
||||
type UserCoupons struct {
|
||||
|
||||
Reference in New Issue
Block a user