laravel 配置路由 api和web定義的路由的區別詳解 1、路由經過中間件方面不同 打開kerenl.php就可以看到區別 protected $middlewareGroups = [ 'web' => [ \App\Http ...