123456789101112131415161718192021222324 |
- <?php
- $router->group(function () use ($router){
- $router->get('fences/getSchoolFenceList', '\catchAdmin\fences\controller\Fences@getSchoolFenceList');
- $router->get('fences/getKqFenceList', '\catchAdmin\fences\controller\Fences@getKqFenceList');
-
- $router->resource('fences', '\catchAdmin\fences\controller\Fences');
- $router->post('fences/saveSchoolFence', '\catchAdmin\fences\controller\Fences@saveSchoolFence');
- $router->post('fences/saveKqFence', '\catchAdmin\fences\controller\Fences@saveKqFence');
- $router->put('fences/editSchoolFence/<id>', '\catchAdmin\fences\controller\Fences@editSchoolFence');
- $router->put('fences/editKqFence/<id>', '\catchAdmin\fences\controller\Fences@editKqFence');
-
-
- })->middleware('auth');
|