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]‘); }); });
时间: 2025-01-02 04:01:47