12345678910111213141516171819202122232425 |
- <?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){
- // preview路由
- $router->get('preview/getDeviceAddressList', '\catchAdmin\screen\controller\Preview@getDeviceAddressList');
- $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');
|