|
@@ -1071,6 +1071,11 @@ class NewsService implements NewsServiceInterface
|
|
|
$query->whereRaw("JSON_CONTAINS(ignore_ids, '" . intval($data['website_id']) . "') = 0")
|
|
|
->orWhereNull("ignore_ids");
|
|
|
})
|
|
|
+ ->select('article.*','article_data.content','article_data.article_id',
|
|
|
+ 'article_extend.website_url','article_extend.email','article_extend.contacts',
|
|
|
+ 'article_extend.contacts_mobile','article_extend.contacts_address','article_extend.zip_code',
|
|
|
+ 'article_extend.enterprise_name'
|
|
|
+ )
|
|
|
->first();
|
|
|
if (empty($result)) {
|
|
|
return Result::error("暂无此新闻!", 0);
|