Route::get('Index/{action}', function(AppHttpControllersIndexController $index, $action){ return $index->$action(); });
https://xueyuanjun.com/post/5866.html
注册一个可以响应任何HTTP动作的路由
代码如下:
Route::any('foo', function() { return 'Hello World'; });
https://blog.csdn.net/lxw1844912514/article/details/100029390