update tutorial

This commit is contained in:
Tokumeikoi 2020-02-19 14:59:38 +08:00
parent a2ea88beb5
commit 8b804913f5

View File

@ -49,7 +49,7 @@ class TutorialController extends Controller
'data' => $tutorial
]);
}
$tutorial = Tutorial::select(['id', 'title', 'icon'])
$tutorial = Tutorial::select(['id', 'category_id', 'title', 'icon'])
->where('show', 1)
->get()
->groupBy('category_id');