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