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
d8b297594d
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      services/llm_report.go

+ 3 - 2
services/llm_report.go

@@ -155,9 +155,10 @@ func handleReportAddOrModifyKnowledge(reportId, reportChapterId int, title, auth
 		item.Author = author
 		item.TextContent = textContent
 		item.IsPublished = 1
-		item.PublishTime = publishTime
+		//item.PublishTime = publishTime
 		item.ModifyTime = time.Now()
-		err = item.Update([]string{"author", "text_content", "is_published", "publish_time", "modify_time"})
+		//err = item.Update([]string{"author", "text_content", "is_published", "publish_time", "modify_time"})
+		err = item.Update([]string{"author", "text_content", "is_published", "modify_time"})
 	} else {
 		// 无数据的时候,需要新增
 		err = nil