group(function () use ($router){ // email路由 $router->resource('email', '\catchAdmin\email\controller\email'); })->middleware('auth');