diff --git a/internal/logic/bundleLogic.go b/internal/logic/bundleLogic.go index 6b9ef19..ea1d643 100644 --- a/internal/logic/bundleLogic.go +++ b/internal/logic/bundleLogic.go @@ -276,14 +276,20 @@ func BundleDetailV2(req *bundle.BundleDetailRequest) (res *bundle.BundleDetailRe if detail.BundleProfileLang != nil && len(detail.BundleProfileLang) > 0 { for _, lang := range detail.BundleProfileLang { bundleProfileLang := &bundle.BundleProfileLang{ - Uuid: lang.UUID, - Name: lang.Name, - Price: lang.Price, - PriceType: lang.PriceType, - Content: lang.Content, - Language: lang.Language, - CreatedAt: time.Unix(lang.CreatedAt, 0).Format("2006-01-02 15:04:05"), - UpdatedAt: time.Unix(int64(lang.UpdatedAt), 0).Format("2006-01-02 15:04:05"), + Uuid: lang.UUID, + Name: lang.Name, + Price: lang.Price, + PriceType: lang.PriceType, + Content: lang.Content, + Language: lang.Language, + ImgOption: int32(detail.ImgOption), + BgImg1: detail.BgImg1, + BgImg2: detail.BgImg2, + FontColor: detail.FontColor, + Sort: detail.Sort, + ShelfStatus: detail.ShelfStatus, + CreatedAt: time.Unix(lang.CreatedAt, 0).Format("2006-01-02 15:04:05"), + UpdatedAt: time.Unix(int64(lang.UpdatedAt), 0).Format("2006-01-02 15:04:05"), } bundleProfileLangs = append(bundleProfileLangs, bundleProfileLang) }