route.php 991 B

12345678910111213141516171819
  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. // gpsRoute路由
  14. })->middleware('auth');
  15. $router->get('gpsRoute/index', '\catchAdmin\kafka\controller\GpsRoute@index');
  16. $router->get('gpsRoute/consumer', '\catchAdmin\kafka\controller\GpsRoute@consumer');
  17. $router->get('gpsRoute/test', '\catchAdmin\kafka\controller\GpsRoute@test');