From 5ee58f32caf58adf967a6fd048f295138e3499ff Mon Sep 17 00:00:00 2001 From: v2board Date: Tue, 13 Jun 2023 18:43:48 +0800 Subject: [PATCH] update: route --- app/Providers/RouteServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index d7368d25..9052bfc6 100755 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -72,7 +72,7 @@ class RouteServiceProvider extends ServiceProvider 'middleware' => 'api', 'namespace' => $this->namespace ], function ($router) { - foreach (glob(app_path('Http//Routes') . '/*.php') as $file) { + foreach (glob(app_path('Http//Routes//V1') . '/*.php') as $file) { $this->app->make('App\\Http\\Routes\\V1\\' . basename($file, '.php'))->map($router); } });