From 8b804913f5ef8d7f791e145075cc20c277c36725 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Wed, 19 Feb 2020 14:59:38 +0800 Subject: [PATCH] update tutorial --- app/Http/Controllers/User/TutorialController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/User/TutorialController.php b/app/Http/Controllers/User/TutorialController.php index 59f67ffc..d226f3fa 100644 --- a/app/Http/Controllers/User/TutorialController.php +++ b/app/Http/Controllers/User/TutorialController.php @@ -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');