Merge pull request #80 from v2board/dev

Dev
This commit is contained in:
tokumeikoi 2020-03-06 01:22:12 +08:00 committed by GitHub
commit a3b7130857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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