Files
mayi-grade/app/admin/route/admin.php
T
2019-12-04 12:59:31 +08:00

22 lines
1.0 KiB
PHP

<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;
//系统设置路由
Route::resource('admin','admin/Index');
Route::resource('authgroup','admin/AuthGroup');
Route::resource('authrule','admin/AuthRule');
Route::resource('authgroup','admin/AuthGroup');
Route::post('resetpassword/:id','admin/Index/resetpassword');
Route::get('editpassword/edit','admin/Index/editPassword');
Route::put('editpassword/:id','admin/Index/updatePassword');
Route::get('myinfo','admin/Index/myinfo');