来自路由参数
// routes/web.php
Route::get('users/{id}', function ($id) {
// If the user visits myapp.com/users/15/, $id will equal 15
});Last updated
// routes/web.php
Route::get('users/{id}', function ($id) {
// If the user visits myapp.com/users/15/, $id will equal 15
});Last updated