mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 00:29:09 +08:00
update
This commit is contained in:
parent
6cf3b73da2
commit
50ffdd9db9
@ -12,7 +12,9 @@ class NoticeController extends Controller
|
||||
public function fetch(Request $request)
|
||||
{
|
||||
return response([
|
||||
'data' => Notice::orderBy('created_at', 'DESC')->get()
|
||||
'data' => Notice::orderBy('created_at', 'DESC')
|
||||
->limit(5)
|
||||
->get()
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user