Api架构位置
This commit is contained in:
parent
980d7aaa89
commit
e3344478f1
|
@ -45,7 +45,7 @@ public function boot()
|
|||
$this->routes(function () {
|
||||
Route::prefix('api')
|
||||
->middleware('api')
|
||||
->namespace($this->namespace)
|
||||
->namespace($this->namespace.'\\api')
|
||||
->group(base_path('routes/api.php'));
|
||||
|
||||
Route::middleware('web')
|
||||
|
|
Loading…
Reference in New Issue
Block a user