route.php 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CatchAdmin [Just Like ~ ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2017~{$year} http://catchadmin.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
  8. // +----------------------------------------------------------------------
  9. // | Author: JaguarJack [ njphper@gmail.com ]
  10. // +----------------------------------------------------------------------
  11. // you should use `$router`
  12. $router->group(function () use ($router){
  13. // routeMap路由
  14. $router->get('map/queryStudentRouteForPage', '\catchAdmin\map\controller\RouteMap@queryStudentRouteForPage');
  15. $router->get('map/queryDeviceCurLocation', '\catchAdmin\map\controller\RouteMap@queryDeviceCurLocation');
  16. $router->get('map/queryDeviceRouteGps', '\catchAdmin\map\controller\RouteMap@queryDeviceRouteGps');
  17. $router->get('map/queryStudentRouteRfid', '\catchAdmin\map\controller\RouteMap@queryStudentRouteRfid');
  18. $router->get('map/queryDeviceList', '\catchAdmin\map\controller\RouteMap@queryDeviceList');
  19. $router->get('map/queryAlarmList', '\catchAdmin\map\controller\RouteMap@queryAlarmList');
  20. $router->get('map/queryLocationList', '\catchAdmin\map\controller\RouteMap@queryLocationList');
  21. $router->get('map/queryAlarmLocationList', '\catchAdmin\map\controller\RouteMap@queryAlarmLocationList');
  22. $router->get('map/queryFenceList', '\catchAdmin\map\controller\RouteMap@queryFenceList');
  23. $router->get('map/queryDeviceRoute', '\catchAdmin\map\controller\RouteMap@queryDeviceRoute');
  24. $router->get('map/queryDeviceRouteOracle', '\catchAdmin\map\controller\RouteMap@queryDeviceRouteOracle');
  25. $router->get('map/queryDeviceRouteList', '\catchAdmin\map\controller\RouteMap@queryDeviceRouteList');
  26. $router->get('map/queryDeviceRouteCount', '\catchAdmin\map\controller\RouteMap@queryDeviceRouteCount');
  27. $router->get('map/queryCountSearchDevice', '\catchAdmin\map\controller\RouteMap@queryCountSearchDevice');
  28. $router->post('/map/queryDeviceRealTimeInfo', '\catchAdmin\map\controller\RouteMap@queryDeviceRealTimeInfo');
  29. })->middleware('auth');
  30. $router->post('map/queryAlarmFenceList', '\catchAdmin\map\controller\RouteMap@queryAlarmFenceList');