📅  最后修改于: 2022-03-11 14:54:20.680000             🧑  作者: Mango
Route::match(['get', 'post'], '/user', [
'uses' => 'AppController@user',
'as' => 'useraccess',
'roles'=> 'HomeController@useroles',
]);