🎨 优化订单逻辑,新增vip字段

This commit is contained in:
2025-08-12 16:24:33 +08:00
parent 90d4b959a1
commit 3beb54c12c
3 changed files with 3 additions and 1 deletions

View File

@@ -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 设置表名