调整公告改成一个

This commit is contained in:
2022-11-30 17:52:41 +08:00
parent b3b3db4548
commit 59ea6c70cf

View File

@@ -27,7 +27,7 @@ class IndexController extends Controller
$notices = Article::shown() $notices = Article::shown()
->ByCategory(6) ->ByCategory(6)
->bysort() ->bysort()
->take(2) ->take(1)
->get();//两个通知公告 ->get();//两个通知公告