Browse Source

Merge remote-tracking branch 'origin/rag/3.1' into debug

Roc 2 tuần trước cách đây
mục cha
commit
5178ef1196
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

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