Align GoChat with Chatwoot frontend contracts

This commit is contained in:
2026-06-13 22:13:32 +08:00
parent 71abf58636
commit d884fdda0a
162 changed files with 9825 additions and 528 deletions
+5 -3
View File
@@ -50,9 +50,11 @@ func (h *ArticleHandler) PublicList(c *gin.Context) {
}
countParams := repository.ArticleSearchParams{
PortalID: portal.ID,
Locale: locale,
Status: string(model.ArticleStatusPublished),
PortalID: portal.ID,
Query: query,
CategorySlug: c.Param("category_slug"),
Locale: locale,
Status: string(model.ArticleStatusPublished),
}
articlesCount, err := h.svc.Count(c.Request.Context(), countParams)
if err != nil {