📅  最后修改于: 2022-03-11 14:53:59.185000             🧑  作者: Mango
Route::bind('administrator', function ($id) {
return Administrator::find($id) ?? abort(404, 'Administrator does not exist.');
});