LiuJ 1 dag sedan
förälder
incheckning
27b02b1c52
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/JsonRpc/NewsService.php

+ 1 - 1
app/JsonRpc/NewsService.php

@@ -1194,7 +1194,7 @@ class NewsService implements NewsServiceInterface
       ->where('article.status', 1)
       ->where('website_category.website_id', $data['website_id'])
       ->select('article.id', 'article.title', 'article.catid', 'article.imgurl', 'article.hits', 'article.created_at', 'website_category.alias', 'website_category.alias_pinyin', 'website_category.website_id')
-      ->orderBy('article.updated_at', 'desc')
+      // ->orderBy('article.updated_at', 'desc')
       ->limit(5)
       ->get();
     $result['category_id'] = $category['category_id'];