📜  laravel 路由显式绑定 - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:31.039000             🧑  作者: Mango

代码示例2
Route::get('api/users/{user}', function (App\User $user) {
    return $user->email;
});