123456789101112131415161718192021 |
- <?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){
- // flange路由
- $router->resource('flange', '\catchAdmin\flange\controller\Flange');
- $router->get("getwindfan",'\catchAdmin\flange\controller\Flange@getWindFan');
- //扳手类型
- $router->get("wrenchtype",'\catchAdmin\flange\controller\Flange@chooseWrench');
-
-
- })->middleware('auth');
|