更新
This commit is contained in:
@@ -23,4 +23,6 @@ Route::group('/', function(){
|
||||
Route::rule('auth/user/:action', 'auth.User/:action');
|
||||
Route::rule('auth/department/:action', 'auth.Department/:action');
|
||||
Route::rule('auth/role/:action', 'auth.Role/:action');
|
||||
Route::rule('tools/filter/:action', 'tools.Filter/:action');
|
||||
Route::rule('tools/inspect/:action', 'tools.Inspect/:action');
|
||||
})->middleware([\app\middleware\Check::class], 'api');
|
||||
@@ -10,4 +10,5 @@ use think\facade\Route;
|
||||
|
||||
Route::group('auth', function(){
|
||||
Route::post('login', 'auth.Index/login');
|
||||
Route::get('member', 'auth.Index/member');
|
||||
});
|
||||
Reference in New Issue
Block a user