Browse Source

no message

xingzai 1 year ago
parent
commit
f07b0c42bf
1 changed files with 6 additions and 1 deletions
  1. 6 1
      controllers/report.go

+ 6 - 1
controllers/report.go

@@ -1340,6 +1340,8 @@ func (this *MobileReportController) Timeline() {
 		if v.Resource == 3 {
 			meetingreviewchaptIds = append(meetingreviewchaptIds, v.Id)
 		}
+	}
+	if len(meetingreviewchaptIds) > 0 {
 		listMeet, err := services.GetCygxMorningMeetingReviewChapterListByIds(meetingreviewchaptIds)
 		if err != nil {
 			br.Msg = "获取失败"
@@ -1385,7 +1387,10 @@ func (this *MobileReportController) Timeline() {
 			list[k].IsHaveVideo = true
 		}
 		v.PublishDate = utils.TimeRemoveHms2(v.PublishDate)
-
+		if v.Resource == 3 {
+			v.LinkArticleId = mapchaptIdAndArticleId[v.Id]
+			v.ListSubject = mapchaptIdListSubject[v.Id]
+		}
 	}
 
 	//添加我的日程访问记录