Update:增加字段赋值

This commit is contained in:
jiaji.H 2026-06-05 13:36:32 +08:00
parent 20f94743d4
commit f9c7edf7c3

View File

@ -77,8 +77,9 @@ func SaveBundle(req *bundle.BundleProfile) (res *bundle.SaveResponse, err error)
ImgOption: int8(req.ImgOption), ImgOption: int8(req.ImgOption),
BgImg1: req.BgImg1, BgImg1: req.BgImg1,
BgImg2: req.BgImg2, BgImg2: req.BgImg2,
ShelfStatus: 2, //默认初始状态为2-下架 ShelfStatus: model.BundleShelfStatusDown, //默认初始状态为2-下架
FontColor: req.FontColor, FontColor: req.FontColor,
BundleType: req.BundleType,
} }
bundleLang := &model.BundleProfileLang{ bundleLang := &model.BundleProfileLang{
Name: req.Name, Name: req.Name,