Browse Source

Merge branch 'web_sannong_fr'

15313670163 3 tuần trước cách đây
mục cha
commit
b316512db4
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  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'])