@@ -144,6 +144,10 @@ func (c *RagEtaReportController) ArticleDetail() {
return
}
content = reportInfo.Content
+ // 如果是rai报告,则使用纯文本的报告内容
+ if reportInfo.RaiReportId > 0 {
+ content = item.TextContent
+ }
} else {
// 章节报告
reportChapterInfo, err := models.GetReportChapterInfoById(item.ReportChapterId)