group(function () use ($router){ // routeMap路由 $router->get('map/queryStudentRouteForPage', '\catchAdmin\map\controller\RouteMap@queryStudentRouteForPage'); $router->get('map/queryDeviceCurLocation', '\catchAdmin\map\controller\RouteMap@queryDeviceCurLocation'); $router->get('map/queryDeviceRouteGps', '\catchAdmin\map\controller\RouteMap@queryDeviceRouteGps'); $router->get('map/queryStudentRouteRfid', '\catchAdmin\map\controller\RouteMap@queryStudentRouteRfid'); $router->get('map/queryDeviceList', '\catchAdmin\map\controller\RouteMap@queryDeviceList'); $router->get('map/queryAlarmList', '\catchAdmin\map\controller\RouteMap@queryAlarmList'); $router->get('map/queryLocationList', '\catchAdmin\map\controller\RouteMap@queryLocationList'); $router->get('map/queryAlarmLocationList', '\catchAdmin\map\controller\RouteMap@queryAlarmLocationList'); $router->get('map/queryFenceList', '\catchAdmin\map\controller\RouteMap@queryFenceList'); $router->get('map/queryDeviceRoute', '\catchAdmin\map\controller\RouteMap@queryDeviceRoute'); $router->get('map/queryDeviceRouteOracle', '\catchAdmin\map\controller\RouteMap@queryDeviceRouteOracle'); $router->get('map/queryDeviceRouteList', '\catchAdmin\map\controller\RouteMap@queryDeviceRouteList'); $router->post('/map/queryDeviceRealTimeInfo', '\catchAdmin\map\controller\RouteMap@queryDeviceRealTimeInfo'); })->middleware('auth'); $router->post('map/queryAlarmFenceList', '\catchAdmin\map\controller\RouteMap@queryAlarmFenceList');