소스 검색

Merge branch 'web_sannong_fr'

15313670163 4 주 전
부모
커밋
b316512db4
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      app/JsonRpc/NewsService.php

+ 4 - 4
app/JsonRpc/NewsService.php

@@ -1133,10 +1133,10 @@ class NewsService implements NewsServiceInterface
             $category['text'] = WebsiteCategory::where($where)
                 ->leftJoin('article', 'article.catid', 'website_category.category_id')
                 ->where('article.status', 1)
-                ->where(function ($query) {
-                    $query->whereNull('article.imgurl')
-                          ->orWhere('article.imgurl', '');
-                })
+                // ->where(function ($query) {
+                //     $query->whereNull('article.imgurl')
+                //           ->orWhere('article.imgurl', '');
+                // })
                 ->select('article.*','website_category.category_id','website_category.alias')
                 ->orderBy('article.updated_at', 'desc')
                 ->limit($data['text_num'])