Api架构位置

This commit is contained in:
筱锋xiao_lfeng 2023-06-19 17:08:42 +08:00
parent 980d7aaa89
commit e3344478f1

View File

@ -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')