标签:路由 UNC out span group cti namespace func pre
Route::prefix(‘admin‘)->group(function (){ Route::get(‘/test1‘,‘Admin\AdminController@test1‘); Route::get(‘/test2‘,‘Admin\AdminController@test2‘); }); Route::namespace(‘Admin‘)->prefix(‘admin‘)->middleware(‘checkName‘)->group(function (){ Route::get(‘/test1/{name}‘,‘AdminController@test1‘); Route::get(‘/test2‘,‘AdminController@test2‘); });
标签:路由 UNC out span group cti namespace func pre
原文地址:https://www.cnblogs.com/jichenghui/p/13194510.html