Roc 11 цаг өмнө
parent
commit
052d81ed01

+ 1 - 1
services/llm_report.go

@@ -741,7 +741,7 @@ func delRagEtaReportAbstract(list []*rag.RagEtaReportAbstract) (err error) {
 
 	// 删除es数据
 	for _, wechatArticleAbstractId := range newAbstractIdList {
-		go DelEsRagEtaReportAbstract(wechatArticleAbstractId)
+		DelEsRagEtaReportAbstract(wechatArticleAbstractId)
 	}
 
 	return

+ 1 - 1
services/wechat_platform.go

@@ -1267,7 +1267,7 @@ func delWechatArticleAbstract(list []*rag.WechatArticleAbstract) (err error) {
 
 	// 删除es数据
 	for _, wechatArticleAbstractId := range newAbstractIdList {
-		go DelEsWechatArticleAbstract(wechatArticleAbstractId)
+		DelEsWechatArticleAbstract(wechatArticleAbstractId)
 	}
 
 	return