Roc 1 tháng trước cách đây
mục cha
commit
e199a1b421
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      services/report_v2.go

+ 3 - 0
services/report_v2.go

@@ -1381,6 +1381,9 @@ func PublishChapterReport(reportInfo *models.Report, reportUrl string, sysUser *
 		go Report2pdfAndJpeg(reportPdfUrl, reportId, 1)
 	}
 
+	// 报告发布成功后,需要将相关信息入知识库
+	go cache.RagEtaReportOpToCache(reportInfo.Id, 0, `publish`)
+
 	return
 }