📌  相关文章
📜  laravel 获取控制器中的 url 参数 - PHP 代码示例

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

代码示例6
Route::get('/posts/{post}/comments/{comment}', function ($postId, $commentId) {
    return view('name of the view')->with('postId',$postId);
});