update: api version

This commit is contained in:
v2board
2023-06-12 02:32:49 +08:00
parent 32eaf301fe
commit 4c97d7e429
74 changed files with 449 additions and 496 deletions

View File

@ -73,7 +73,7 @@ class RouteServiceProvider extends ServiceProvider
'namespace' => $this->namespace
], function ($router) {
foreach (glob(app_path('Http//Routes') . '/*.php') as $file) {
$this->app->make('App\\Http\\Routes\\' . basename($file, '.php'))->map($router);
$this->app->make('App\\Http\\Routes\\V1\\' . basename($file, '.php'))->map($router);
}
});
}