laravel 路由

Route::get('/user', 'UserController@index');  //  参数1 域名的后面一整部分,参数2  控制器里面的方法

原文地址:https://www.cnblogs.com/roseY/p/10532079.html