fix: 追加taskIndex

This commit is contained in:
fuzhongyun 2026-01-05 11:06:18 +08:00
parent 900cb0c1c7
commit bb9650aa3a
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +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.Contents = make([]string, 0)
// 解析Content