This commit is contained in:
Tokumeikoi 2020-03-06 01:19:51 +08:00
parent 796a5ba55e
commit f18715ed09

View File

@ -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');