Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以通过访问当前路线,Route::currentRouteName()但我有机会访问当前路线参数吗?
Route::currentRouteName()
一种可能的方法:
Route::getCurrentRoute()->getParameters();