Browse Source

Merge branch 'web_sannong_fr'

15313670163 3 months ago
parent
commit
2381b579a9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/JsonRpc/NewsService.php

+ 1 - 1
app/JsonRpc/NewsService.php

@@ -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);
+        
     }
     /**
      * 前端-获取新闻详情