diff --git a/internal/model/bundle.go b/internal/model/bundle.go index 7fb8cb4..7719150 100644 --- a/internal/model/bundle.go +++ b/internal/model/bundle.go @@ -27,9 +27,9 @@ type BundleProfile struct { FontColor string `json:"fontColor" gorm:"column:font_color;type:varchar(32);comment:字体颜色"` BgImg1 string `json:"bgImg1" gorm:"column:bg_img1;type:varchar(1024);comment:背景图-首页"` BgImg2 string `json:"bgImg2" gorm:"column:bg_img2;type:varchar(1024);comment:背景图-我的"` + BundleType int64 `json:"bundleType" gorm:"column:bundle_type;type:int;comment:套餐类型 1:基础套餐 2:先用后付套餐"` BundleToValueAddService []BundleToValueAddService `gorm:"foreignKey:BundleUuid;references:UUID" json:"bundleToValueAddService"` BundleProfileLang []BundleProfileLang `gorm:"foreignKey:UUID;references:UUID" json:"bundleProfileLang"` - BundleType int64 `json:"bundleType" gorm:"column:bundle_type;type:int;comment:套餐类型 1:基础套餐 2:先用后付套餐"` } type BundleProfileLang struct { Id int32 `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT" json:"id"`