|
@@ -394,7 +394,6 @@ class NewsService implements NewsServiceInterface
|
|
|
*/
|
|
|
public function getWebsiteArticleList(array $data): array
|
|
|
{
|
|
|
-
|
|
|
$where[] = ['status', '=', 1];
|
|
|
if(isset($data['keyword']) && !empty($data['keyword'])){
|
|
|
array_push($where,['article.title','like','%'.$data['keyword'].'%']);
|
|
@@ -442,6 +441,7 @@ class NewsService implements NewsServiceInterface
|
|
|
return Result::error("没有信息数据");
|
|
|
}
|
|
|
return Result::success($data);
|
|
|
+
|
|
|
}
|
|
|
/**
|
|
|
* 前端-获取新闻详情
|