diff --git a/internal/logic/bundleLogic.go b/internal/logic/bundleLogic.go index 721c06d..66d04a5 100644 --- a/internal/logic/bundleLogic.go +++ b/internal/logic/bundleLogic.go @@ -74,7 +74,7 @@ func SaveBundle(req *bundle.BundleProfile) (res *bundle.SaveResponse, err error) Price: req.Price, PriceType: req.PriceType, Contract: "https://e-cdn.fontree.cn/fonchain-main/prod/file/contract/saas/template-25122501.pdf", - PayLaterContract: "https://e-cdn.fontree.cn/fonchain-main/prod/file/contract/saas/template-25122501.pdf", + PayLaterContract: "https://e-cdn.fontree.cn/fonchain-main/prod/file/contract/saas/20260611-套餐的先用后付合同.pdf", ImgOption: int8(req.ImgOption), BgImg1: req.BgImg1, BgImg2: req.BgImg2, diff --git a/internal/model/valueAdd_bundle.go b/internal/model/valueAdd_bundle.go index 694b373..738566a 100644 --- a/internal/model/valueAdd_bundle.go +++ b/internal/model/valueAdd_bundle.go @@ -36,7 +36,7 @@ type ValueAddService struct { UUID string `json:"uuid" gorm:"column:uuid;type:varchar(1024);comment:增值套餐UUID"` ServiceName string `json:"serviceName" gorm:"column:service_name;type:varchar(1024);comment:增值服务名称"` ServiceType int32 `json:"serviceType" gorm:"column:service_type;type:int;comment:服务类型 1:视频 2:图文 3:数据报表 4:账号数 5:可用时长 6:竞品数"` - SourceFrom int32 `json:"sourceFrom" gorm:"column:source_from;type:int;comment:归属 1:普通套餐 2:先用后付套餐"` + SourceFrom int32 `json:"sourceFrom" gorm:"column:source_from;type:int;default:1;comment:归属 1:普通套餐 2:先用后付套餐"` ValueAddServiceLang []ValueAddServiceLang `gorm:"foreignKey:UUID;references:UUID"` BundleToValueAddService []BundleToValueAddService `gorm:"foreignKey:ValueUid;references:UUID"` CreatedAt int64 `gorm:"column:created_at;autoCreateTime"`