Commit 96a3eeef authored by 章建武's avatar 章建武

dpe

parent f4a59f13
...@@ -57,7 +57,7 @@ class ArticleController extends Controller ...@@ -57,7 +57,7 @@ class ArticleController extends Controller
->where('status', '=', 0) ->where('status', '=', 0)
->where('type', 2) ->where('type', 2)
// ->whereNotIn('id', $group_news1->pluck('id')->toArray()) // ->whereNotIn('id', $group_news1->pluck('id')->toArray())
->orderBy('num', 'desc') ->orderBy('release_time', 'desc')
->limit(2)->get(); ->limit(2)->get();
$item_trends = ArticleInfo::query()->where('type', '=', NewsType::ITEM_TRENDS) $item_trends = ArticleInfo::query()->where('type', '=', NewsType::ITEM_TRENDS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment