How to generate such a Group
/{area}/
/index
/mine
/shop
/market
Do we need to specify an {area} parameter for each route?
为情所困2017-05-16 16:50:49
Like this
Route::group(['prefix'=>'/{area}'],function (\Illuminate\Routing\Router $route){
$route->get('a','GoodController@a');
$route->get('b','GoodController@b');
$route->get('c','GoodController@c');
});