🎨 优化订单逻辑,新增vip字段
This commit is contained in:
@@ -8,6 +8,7 @@ type Vip struct {
|
||||
Level int `json:"level" form:"level" gorm:"comment:会员等级 1 Vip 2 Svip"` // 会员等级
|
||||
Price float64 `json:"price" form:"price" gorm:"comment:会员价格"` // 会员价格
|
||||
Expiration int64 `json:"expiration" form:"expiration" gorm:"comment:会员有效期"` // 会员过期时间
|
||||
Des string `json:"des" form:"des" gorm:"comment:会员描述"` // 会员描述
|
||||
}
|
||||
|
||||
// TableName 设置表名
|
||||
|
Reference in New Issue
Block a user