...
|
...
|
@@ -44,6 +44,8 @@ func (l *MiniUserNewsLogic) MiniUserNews(req *types.MiniUserNewsRequest) (resp * |
|
|
)
|
|
|
if req.AuthorId > 0 {
|
|
|
users = []int64{req.AuthorId}
|
|
|
} else {
|
|
|
users = append(users, user.Id)
|
|
|
}
|
|
|
if _, articles, err = l.svcCtx.ArticleRepository.FindAuthorsLatestArticle(l.ctx, conn, user.CompanyId, users, user.Id, req.LastArticleId, req.Size); err != nil {
|
|
|
return nil, xerr.NewErrMsgErr("获取快讯异常", err)
|
...
|
...
|
|