group(function () use ($router){ // 域名管理 $router->resource('domain', '\catchAdmin\domain\controller\Domain'); // 域名解析管理 })->middleware('auth');