Laravel怎样传参数给controller

Laravel怎样传参数给controller


函数式编程
浏览 1199回答 1
1回答

潇湘沐

1. function demo(Request $req){return $req->input('parameter');}2.function demo(){return \Request::input('parameter');}3.function demo(){return $_REQUEST['parameter'];}
打开App,查看更多内容
随时随地看视频慕课网APP