group(function () use ($router){ // configLog路由 $router->resource('configLog', '\catchAdmin\logs\controller\ConfigLog'); // dwLog路由 $router->resource('dwLog', '\catchAdmin\logs\controller\DwLog'); // wxPushResultLog路由 $router->resource('wxPushResultLog', '\catchAdmin\logs\controller\WxPushResultLog'); // heartBeat路由 $router->resource('heartBeat', '\catchAdmin\logs\controller\HeartBeat'); // batteryLog路由 $router->resource('batteryLog', '\catchAdmin\logs\controller\BatteryLog'); // maintainLog路由 $router->resource('maintainLog', '\catchAdmin\logs\controller\MaintainLog'); // wrenchCheckLog路由 $router->resource('wrenchCheckLog', '\catchAdmin\logs\controller\WrenchCheckLog'); })->middleware('auth');