mirror of
https://github.com/v2board/v2board.git
synced 2025-01-11 16:49:10 +08:00
commit
a3b7130857
@ -49,7 +49,7 @@ class TutorialController extends Controller
|
|||||||
'data' => $tutorial
|
'data' => $tutorial
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
$tutorial = Tutorial::select(['id', 'category_id', 'title', 'icon'])
|
$tutorial = Tutorial::select(['id', 'category_id', 'title'])
|
||||||
->where('show', 1)
|
->where('show', 1)
|
||||||
->get()
|
->get()
|
||||||
->groupBy('category_id');
|
->groupBy('category_id');
|
||||||
|
Loading…
Reference in New Issue
Block a user