Compare commits

..

No commits in common. "6e29d409984a4149a1cffb692c6d706bf59e744c" and "d6888a4e3c521ea6bf4babdbce5d3a1a880beaaf" have entirely different histories.

View File

@ -276,20 +276,14 @@ func BundleDetailV2(req *bundle.BundleDetailRequest) (res *bundle.BundleDetailRe
if detail.BundleProfileLang != nil && len(detail.BundleProfileLang) > 0 { if detail.BundleProfileLang != nil && len(detail.BundleProfileLang) > 0 {
for _, lang := range detail.BundleProfileLang { for _, lang := range detail.BundleProfileLang {
bundleProfileLang := &bundle.BundleProfileLang{ bundleProfileLang := &bundle.BundleProfileLang{
Uuid: lang.UUID, Uuid: lang.UUID,
Name: lang.Name, Name: lang.Name,
Price: lang.Price, Price: lang.Price,
PriceType: lang.PriceType, PriceType: lang.PriceType,
Content: lang.Content, Content: lang.Content,
Language: lang.Language, Language: lang.Language,
ImgOption: int32(detail.ImgOption), CreatedAt: time.Unix(lang.CreatedAt, 0).Format("2006-01-02 15:04:05"),
BgImg1: detail.BgImg1, UpdatedAt: time.Unix(int64(lang.UpdatedAt), 0).Format("2006-01-02 15:04:05"),
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) bundleProfileLangs = append(bundleProfileLangs, bundleProfileLang)
} }