12345678910111213141516171819202122 |
- <?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){
- // ucProvince路由
- $router->resource('ucProvince', '\catchAdmin\citymanage\controller\UcProvince');
- // ucCity路由
- $router->resource('ucCity', '\catchAdmin\citymanage\controller\UcCity');
- // ucCity路由
- $router->resource('ucCity', '\catchAdmin\citymanage\controller\UcCity');
- // ucDistrict路由
- $router->resource('ucDistrict', '\catchAdmin\citymanage\controller\UcDistrict');
- })->middleware('auth');
|