|
@@ -742,7 +742,7 @@ func GetReportList(user user.UserInfo, keyWord string, classifyIdFirst, classify
|
|
|
//}
|
|
|
|
|
|
} else {
|
|
|
- if classifyParent.ClassifyName == "晨报" || classifyParent.ClassifyName == "周报" {
|
|
|
+ if classifyParent.HasChild == 0 {
|
|
|
//reportImgUrl = chartPermissionImageMap[1]
|
|
|
classifyIdSeconds = append(classifyIdSeconds, 0)
|
|
|
}
|
|
@@ -958,6 +958,7 @@ func GetReportList(user user.UserInfo, keyWord string, classifyIdFirst, classify
|
|
|
reportItem := new(response.ReportListItem)
|
|
|
reportItem.ReportId = reportInfo.Id
|
|
|
reportItem.HasChapter = reportInfo.HasChapter
|
|
|
+ reportItem.VideoUrl = reportInfo.VideoUrl
|
|
|
// 样式限制行数
|
|
|
reportItem.Title = "<div style=\"-webkit-line-clamp: 2;-webkit-box-orient: vertical;display: -webkit-box;overflow: hidden;text-overflow: ellipsis;\">" + reportInfo.Title + "</div>"
|
|
|
reportItem.PublishTime = reportInfo.PublishTime
|