|
@@ -332,6 +332,7 @@ func GetCollectionList(userId, fromType, currPage, pageSize int, keywords string
|
|
|
v.PublishTime = cp.PublishTime.Format(utils.FormatDate)
|
|
|
v.ClassifyName = utils.REPORT_CHAPTER_TYPE_NAME_MAP[cp.ReportType]
|
|
|
v.Author = cp.Author
|
|
|
+ v.Title = cp.Title
|
|
|
}
|
|
|
break
|
|
|
}
|
|
@@ -340,12 +341,14 @@ func GetCollectionList(userId, fromType, currPage, pageSize int, keywords string
|
|
|
v.PublishTime = rp.PublishTime.Format(utils.FormatDate)
|
|
|
v.ClassifyName = rp.ClassifyNameFirst
|
|
|
v.Author = rp.Author
|
|
|
+ v.Title = rp.Title
|
|
|
}
|
|
|
case CollectionTypeVideo:
|
|
|
vd := videoMap[collections[i].PrimaryID]
|
|
|
if vd != nil {
|
|
|
v.PublishTime = vd.PublishTime.Format(utils.FormatDate)
|
|
|
v.ImgUrl = vd.CoverImgURL
|
|
|
+ v.Title = vd.Title
|
|
|
}
|
|
|
case CollectionTypeRoadVideo:
|
|
|
rv := roadVideoMap[collections[i].PrimaryID]
|
|
@@ -353,6 +356,7 @@ func GetCollectionList(userId, fromType, currPage, pageSize int, keywords string
|
|
|
v.PublishTime = rv.PublishTime.Format(utils.FormatDate)
|
|
|
v.ImgUrl = rv.CoverImgURL
|
|
|
v.Author = rv.AdminRealName
|
|
|
+ v.Title = rv.Title
|
|
|
}
|
|
|
default:
|
|
|
break
|