laravel中给路由起别名没有作用


Route::match(['get','post'],'/admin/login','Admin\ManagerController@login')->name('login');
Route::middleware(['middleware'=>'auth'])->group(function(){
    Route::get('/admin/index','Admin\IndexController@index');
    Route::get('/admin/welcome','Admin\IndexController@welcome');
});

Vote Vote Cancel Collect Collect Cancel

<< 上一篇: laravel 使用oss存储对象

>> 下一篇: laravel连接sqlserver问题