Преглед на файлове

fix:协作报告也要生成汇总音频

Roc преди 7 месеца
родител
ревизия
ed662b5296
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      services/report_v2.go

+ 2 - 1
services/report_v2.go

@@ -1386,7 +1386,8 @@ func UpdateReportVideo(reportInfo *models.Report) {
 		for _, chapter := range chapterList {
 			if chapter.PublishState == 2 {
 				reportChapterIdList = append(reportChapterIdList, chapter.ReportChapterId)
-				reportContent += chapter.Content
+				reportContent += chapter.Title + `。`
+				reportContent += chapter.Content + `。`
 			}
 		}
 		if len(reportChapterIdList) > 0 {