group('total', function () use ($router){ $router->get('getHomePageCountData','\catchAdmin\report\controller\Report@homePageCountData'); // 获取首页数量统计数据 $router->get('getStationGrowthTrendData','\catchAdmin\report\controller\Report@stationGrowthTrendData'); // 获取设备增长趋势数据 $router->get('getDeviceGrowthTrendData','\catchAdmin\report\controller\Report@deviceGrowthTrendData'); // 获取设备增长趋势数据 })->middleware('auth'); $router->group('report', function () use ($router){ $router->get('hydraulicCount','\catchAdmin\report\controller\Report@hydraulicCount'); $router->get('alarmDeviceCount','\catchAdmin\report\controller\Report@alarmDeviceCount'); $router->get('workCount','\catchAdmin\report\controller\Report@workCount'); //维保记录 $router->get('maintainCount','\catchAdmin\report\controller\Report@maintainCount'); })->middleware('auth');