📅  最后修改于: 2022-03-11 14:54:05.300000             🧑  作者: Mango
代码示例2
// capture a user's ID from the URL by defining route parameters:
Route::get('user/{id}', function ($id) {
return 'User '.$id;
});