laravel下的分组路由可以嵌套如下:
Route::group([‘prefix‘=>‘admin‘],function(){ Route::group([‘prefix‘=>‘dtk‘],function(){ Route::get(‘/getapi‘,‘[email protected]‘); }); Route::group([‘prefix‘=>‘qtk‘],function(){ Route::get(‘/getapi‘,‘[email protected]‘); }); });
时间: 2024-10-28 04:13:51