类的函数的参数可以直接获取路由的参数值吗?
这里的type是直接获取
$api->post('socials/{social_type}/authorizations','AuthorizationsController@socailStore')->name('api.socials.authorizations.store');
这个路由的social_type 的值吗?
推荐文章: