feat: 添加FAQ导入结果持久化展示功能

This commit is contained in:
wizardchen
2026-01-07 20:39:05 +08:00
parent 042d860329
commit 9215c82d3b
10 changed files with 575 additions and 0 deletions
+3
View File
@@ -194,6 +194,9 @@ func RegisterFAQRoutes(r *gin.RouterGroup, handler *handler.FAQHandler) {
faq.PUT("/entries/tags", handler.UpdateEntryTagBatch)
faq.DELETE("/entries", handler.DeleteEntries)
faq.POST("/search", handler.SearchFAQ)
// FAQ import result API
faq.GET("/import/last-result", handler.GetLastImportResult)
faq.PUT("/import/last-result/display", handler.UpdateLastImportResultDisplayStatus)
}
// FAQ import progress route (outside of knowledge-base scope)
faqImport := r.Group("/faq/import")