1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- // +----------------------------------------------------------------------
- // | CatchAdmin [Just Like ~ ]
- // +----------------------------------------------------------------------
- // | Copyright (c) 2017~{$year} http://catchadmin.com All rights reserved.
- // +----------------------------------------------------------------------
- // | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
- // +----------------------------------------------------------------------
- // | Author: JaguarJack [ njphper@gmail.com ]
- // +----------------------------------------------------------------------
- // you should use `$router`
- $router->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->get('map/queryDeviceRouteCount', '\catchAdmin\map\controller\RouteMap@queryDeviceRouteCount');
- $router->get('map/queryCountSearchDevice', '\catchAdmin\map\controller\RouteMap@queryCountSearchDevice');
-
- $router->post('/map/queryDeviceRealTimeInfo', '\catchAdmin\map\controller\RouteMap@queryDeviceRealTimeInfo');
-
- })->middleware('auth');
- $router->post('map/queryAlarmFenceList', '\catchAdmin\map\controller\RouteMap@queryAlarmFenceList');
|