|
@@ -1003,7 +1003,9 @@ class NewsService implements NewsServiceInterface
|
|
|
'article.status' => 1,
|
|
|
];
|
|
|
|
|
|
- $result = Article::where($where)->leftJoin("article_data", "article.id", "article_data.article_id")
|
|
|
+ $result = Article::where($where)
|
|
|
+ ->leftJoin("article_data", "article.id", "article_data.article_id")
|
|
|
+ ->leftJoin ("article_extend", "article_extend.article_id", "article.id")
|
|
|
->where(function ($query) use ($data) {
|
|
|
$query->whereRaw("JSON_CONTAINS(ignore_ids, '" . intval($data['website_id']) . "') = 0")
|
|
|
->orWhereNull("ignore_ids");
|