...
|
...
|
@@ -2,6 +2,7 @@ package article |
|
|
|
|
|
import (
|
|
|
"context"
|
|
|
|
|
|
"github.com/samber/lo"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/cmd/discuss/api/internal/svc"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss/cmd/discuss/api/internal/types"
|
...
|
...
|
@@ -33,7 +34,9 @@ func (l *SystemSearchArticleLogic) SystemSearchArticle(req *types.SystemArticleS |
|
|
WithKV("authorId", req.Author).
|
|
|
WithKV("tags", req.Tags).
|
|
|
WithKV("beginCreatedAt", req.BeginTime).
|
|
|
WithKV("endCreatedAt", req.EndTime)
|
|
|
WithKV("endCreatedAt", req.EndTime).
|
|
|
WithKV("orderMode", req.OrderMode)
|
|
|
|
|
|
total, articles, err := l.svcCtx.ArticleRepository.Find(l.ctx, conn, req.CompanyId, queryOptions)
|
|
|
if err != nil {
|
|
|
return nil, xerr.NewErrMsgErr("搜索帖子异常", err)
|
...
|
...
|
|