1234567891011121314151617181920 |
- <?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){
- // synscheme路由
- $router->resource('synscheme', '\catchAdmin\synscheme\controller\Synscheme');
- //获取方案
- $router->get('synlist', '\catchAdmin\synscheme\controller\Synscheme@getSynscheme');
- //选择同步方案
- $router->get("synschemetype",'\catchAdmin\synscheme\controller\Synscheme@chooseSynscheme');
- })->middleware('auth');
|