Browse Source

fix:文件类消息不传递

Roc 1 year ago
parent
commit
b67eb7e1f8
1 changed files with 6 additions and 6 deletions
  1. 6 6
      controllers/ai/ai_file.go

+ 6 - 6
controllers/ai/ai_file.go

@@ -302,12 +302,12 @@ func (this *AiFileController) FileRetrieve() {
 	} else {
 		//获取主题下的所有信息
 		//AiChatTopicId
-		historyList, err := aimod.GetAiChatList(req.AiChatTopicId)
-		if err != nil && err.Error() != utils.ErrNoRow() {
-			br.Msg = "获取主题历史数据失败!"
-			br.ErrMsg = "获取主题历史数据失败,Err:" + err.Error()
-			return
-		}
+		//historyList, err := aimod.GetAiChatList(req.AiChatTopicId)
+		//if err != nil && err.Error() != utils.ErrNoRow() {
+		//	br.Msg = "获取主题历史数据失败!"
+		//	br.ErrMsg = "获取主题历史数据失败,Err:" + err.Error()
+		//	return
+		//}
 
 		frList := make([]aimod.HistoryChat, 0)
 		frItem := new(aimod.HistoryChat)