|
@@ -10,11 +10,12 @@
|
|
// +----------------------------------------------------------------------
|
|
// +----------------------------------------------------------------------
|
|
|
|
|
|
// you should use `$router`
|
|
// you should use `$router`
|
|
-$router->group('total', function () use ($router){
|
|
|
|
- $router->get('getHomePageCountData','\catchAdmin\report\controller\Report@homePageCountData'); // 获取首页数量统计数据
|
|
|
|
- $router->get('getStationGrowthTrendData','\catchAdmin\report\controller\Report@stationGrowthTrendData'); // 获取设备增长趋势数据
|
|
|
|
- $router->get('getDeviceGrowthTrendData','\catchAdmin\report\controller\Report@deviceGrowthTrendData'); // 获取设备增长趋势数据
|
|
|
|
-});
|
|
|
|
-$router->get('report/areaDeviceCollect','\catchAdmin\report\controller\Report@areaDeviceCollect'); // 获取区域过车统计
|
|
|
|
-$router->get('report/vehiclePassingCount','\catchAdmin\report\controller\Report@vehiclePassingCount'); // 过车总量统计
|
|
|
|
|
|
+$router->group( function () use ($router){
|
|
|
|
+ $router->get('total/getHomePageCountData','\catchAdmin\report\controller\Report@homePageCountData'); // 获取首页数量统计数据
|
|
|
|
+ $router->get('total/getStationGrowthTrendData','\catchAdmin\report\controller\Report@stationGrowthTrendData'); // 获取设备增长趋势数据
|
|
|
|
+ $router->get('total/getDeviceGrowthTrendData','\catchAdmin\report\controller\Report@deviceGrowthTrendData'); // 获取设备增长趋势数据
|
|
|
|
+ $router->get('report/areaDeviceCollect','\catchAdmin\report\controller\Report@areaDeviceCollect'); // 获取区域过车统计
|
|
|
|
+ $router->get('report/vehiclePassingCount','\catchAdmin\report\controller\Report@vehiclePassingCount'); // 过车总量统计
|
|
|
|
+})->middleware('auth');
|
|
|
|
+
|
|
|
|
|