group(function () use ($router){ // preview路由 $router->get('preview/monthAlarmData', '\catchAdmin\screen\controller\Preview@deviceMonthAlarmData'); //围栏实时告警数据 $router->get('preview/realTimeAlarmData', '\catchAdmin\screen\controller\Preview@realTimeAlarmData'); $router->get('preview/getSosScrollAlarmData', '\catchAdmin\screen\controller\Preview@getSosScrollAlarmData'); $router->get('preview/getSocketStationTotal', '\catchAdmin\screen\controller\Preview@getSocketStationTotal'); $router->get('preview/getSchoolBadgeTotal', '\catchAdmin\screen\controller\Preview@getSchoolBadgeTotal'); })->middleware('auth');