<?php use App\Services\Routes as RoutesManager; //这里你可以写一些路由覆盖掉RoutesManager的 //..... $routesManager = new RoutesManager(); $routesManager->admin()->ewww()->www(); // $routesManager->admin()->www(); // $routesManager->www();
<?php // Route::get('/jjzhai/ha', [ // 'as' => 'zxc', function () { // return 'hahalll'; // }]); // Route::get('/pagea', function () { // return view('admin.login.index'); // }); use App\Services\Routes as RoutesManager; $routesManager = new RoutesManager(); $routesManager->admin();