This commit is contained in:
chenbo 2023-12-07 11:20:59 +08:00
parent f6a394413e
commit 9cd97f1cf2

View File

@ -27,6 +27,7 @@ Route::group(config('admin.admin_prefix'), function () {
Route::group(config('admin.api_admin_prefix') . '/', function () {
$path = $this->app->getRootPath() . 'route' . DIRECTORY_SEPARATOR.'admin';
halt($path);
$files = scandir($path);
foreach ($files as $file) {
if($file != '.' && $file != '..'){