From 2187057b7bcce22eab713616e1ebe3f68281a13c Mon Sep 17 00:00:00 2001 From: fuzhongyun <15339891972@163.com> Date: Mon, 5 Jan 2026 11:07:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=BF=BD=E5=8A=A0taskIndex?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/entitys/chat_history.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/entitys/chat_history.go b/internal/entitys/chat_history.go index 7c04ddb..7b7a975 100644 --- a/internal/entitys/chat_history.go +++ b/internal/entitys/chat_history.go @@ -49,7 +49,7 @@ func (c *ChatHisQueryResponse) FromModel(chat model.AiChatHi, task model.AiTask) c.CreateAt = chat.CreateAt.Format("2006-01-02 15:04:05") c.TaskID = chat.TaskID c.TaskName = task.Name - c.TaskIndex = task.Index + c.TaskIndex = chat.TaskIndex c.Contents = make([]string, 0) // 解析Content