laraver路由解析在哪里执行的
$router->post('message','HomeController@message');
$router->get('news','HomeController@news');
$router->get('cases','HomeController@cases');
$router->get('casedetail','HomeController@casedetail');
$router->get('about','HomeController@about');
$router->get('join','HomeController@join');
$router->get('contact','HomeController@contact');
$router->get('index','HomeController@index');
在routes.php这个文件的定义的路由解析是在哪里执行的,想自己定义404页面,找不到解析的地方
$router->get('news','HomeController@news');
$router->get('cases','HomeController@cases');
$router->get('casedetail','HomeController@casedetail');
$router->get('about','HomeController@about');
$router->get('join','HomeController@join');
$router->get('contact','HomeController@contact');
$router->get('index','HomeController@index');
在routes.php这个文件的定义的路由解析是在哪里执行的,想自己定义404页面,找不到解析的地方
1 个回复
fantiq
赞同来自:
App\Providers\RouteServiceProvider::class,
看这个的源码