调整公告改成一个
This commit is contained in:
@@ -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();//两个通知公告
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user