feat: add knowldege tags

This commit is contained in:
wizardchen
2025-11-17 18:15:02 +08:00
parent adbbeb81fc
commit 822041d995
26 changed files with 668 additions and 45 deletions
+3 -1
View File
@@ -31,7 +31,9 @@ func (h *FAQHandler) ListEntries(c *gin.Context) {
return
}
result, err := h.knowledgeService.ListFAQEntries(ctx, c.Param("id"), &page)
tagID := c.Query("tag_id")
result, err := h.knowledgeService.ListFAQEntries(ctx, c.Param("id"), &page, tagID)
if err != nil {
logger.ErrorWithFields(ctx, err, nil)
c.Error(err)