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