怎麼產生一個這樣的Group
#/{area}/ /index#/mine#/shop#/market
#/{area}/
/index
#/mine
#/shop
#/market
##難道要一個個路由都要挨個指定一個{area}參數麼?
這樣
Route::group(['prefix'=>'/{area}'],function (\Illuminate\Routing\Router $route){ $route->get('a','GoodController@a'); $route->get('b','GoodController@b'); $route->get('c','GoodController@c'); });
這樣