修改基类

This commit is contained in:
win7 committed 2019-12-04 12:59:31 +08:00
1 parent a94da65dfd
commit 485bcab263
39 files changed
+319 -136

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
<?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');