Route::rule('/','index/index/index');
Route::rule('show/:id','index/index/show')->ext('html');
路由配置B:Route::rule('/','index/index/index');
Route::rule('show/:id','show')->ext('html');
在路由配置为A的时候,不能正常访问.提示:[0] HttpException in Url.php line 95
非法请求:index/index/show
在路由配置为B的时候可以正常访问.路由配置A是按照官方手册来配置的,请问下是什么原因导致的这个错误呢?
最佳答案
