更新
This commit is contained in:
+8
-1
@@ -16,4 +16,11 @@ Route::rule('/', function(){
|
||||
}else{
|
||||
return view('index');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Route::group('/', function(){
|
||||
Route::rule('system/:controller/:action', 'system.:controller/:action');
|
||||
Route::rule('auth/user/:action', 'auth.User/:action');
|
||||
Route::rule('auth/department/:action', 'auth.Department/:action');
|
||||
Route::rule('auth/role/:action', 'auth.Role/:action');
|
||||
})->middleware([\app\middleware\Check::class], 'api');
|
||||
Reference in New Issue
Block a user