split router

This commit is contained in:
Tokumeikoi
2020-02-01 20:58:36 +08:00
parent d744fba683
commit 1b23998248
6 changed files with 82 additions and 82 deletions

View File

@ -65,7 +65,7 @@ class RouteServiceProvider extends ServiceProvider
protected function mapApiRoutes()
{
Route::group([
'prefix' => 'api/v1',
'prefix' => '/api/v1',
'middleware' => 'api',
'namespace' => $this->namespace
], function ($router) {