mirror of
https://github.com/v2board/v2board.git
synced 2025-04-25 02:52:36 +08:00
update: route
This commit is contained in:
parent
4c97d7e429
commit
5ee58f32ca
@ -72,7 +72,7 @@ class RouteServiceProvider extends ServiceProvider
|
|||||||
'middleware' => 'api',
|
'middleware' => 'api',
|
||||||
'namespace' => $this->namespace
|
'namespace' => $this->namespace
|
||||||
], function ($router) {
|
], 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);
|
$this->app->make('App\\Http\\Routes\\V1\\' . basename($file, '.php'))->map($router);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user