add:新增短信平台管理
This commit is contained in:
18
catch/sms/route.php
Normal file
18
catch/sms/route.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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('sms', function () use ($router){
|
||||
// config路由
|
||||
$router->resource('config', '\catchAdmin\sms\controller\Config');
|
||||
// template 路由
|
||||
$router->resource('template', '\catchAdmin\sms\controller\Template');
|
||||
})->middleware('auth');
|
Reference in New Issue
Block a user