...
|
...
|
@@ -278,6 +278,12 @@ func NewArticleRepository(cache *cache.CachedRepository) domain.ArticleRepositor |
|
|
return &ArticleRepository{CachedRepository: cache}
|
|
|
}
|
|
|
|
|
|
// 小程序端搜索查询文章
|
|
|
func (repository *ArticleRepository) SearchBy(ctx context.Context, conn transaction.Conn, userId int64, companyId int64,
|
|
|
tagCategory string, tagId int64, createdAt [2]int) {
|
|
|
|
|
|
}
|
|
|
|
|
|
// select *
|
|
|
// from article
|
|
|
// join article_and_tag on article.id = article_and_tag.article_id
|
...
|
...
|
|