芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/store.kwesioben.com/app/Providers/RouteServiceProvider.txt
mapApiRoutes(); $this->mapApiv2Routes(); $this->mapApiv3Routes(); $this->mapApiv4Routes(); $this->mapAdminRoutes(); $this->mapSellerRoutes(); $this->mapCustomerRoutes(); $this->mapWebRoutes(); $this->mapSharedRoutes(); //$this->mapInstallRoutes(); //$this->mapUpdateRoutes(); } /** * Define the "web" routes for the application. * * These routes all receive session state, CSRF protection, etc. * * @return void */ protected function mapAdminRoutes() { Route::middleware('web') ->namespace($this->namespace) ->group(base_path('routes/admin.php')); } protected function mapSellerRoutes() { Route::middleware('web') ->namespace($this->namespace) ->group(base_path('routes/seller.php')); } protected function mapCustomerRoutes() { Route::middleware('web') ->namespace($this->namespace) ->group(base_path('routes/customer.php')); } protected function mapWebRoutes() { Route::middleware('web') ->namespace($this->namespace) ->group(base_path('routes/web.php')); } protected function mapSharedRoutes() { Route::middleware('web') ->namespace($this->namespace) ->group(base_path('routes/shared.php')); } protected function mapTestRoutes() { Route::middleware('web') ->namespace($this->namespace) ->group(base_path('routes/test.php')); } protected function mapInstallRoutes() { Route::middleware('web') ->namespace($this->namespace) ->group(base_path('routes/install.php')); } protected function mapUpdateRoutes() { Route::middleware('web') ->namespace($this->namespace) ->group(base_path('routes/update.php')); } /** * Define the "api" routes for the application. * * These routes are typically stateless. * * @return void */ protected function mapApiRoutes() { Route::prefix('api') ->middleware('api') ->namespace($this->namespace) ->group(base_path('routes/api/v1/api.php')); } protected function mapApiv2Routes() { Route::prefix('api') ->middleware('api') ->namespace($this->namespace) ->group(base_path('routes/api/v2/api.php')); } protected function mapApiv3Routes() { Route::prefix('api') ->middleware('api') ->namespace($this->namespace) ->group(base_path('routes/api/v3/seller.php')); } protected function mapApiv4Routes() { Route::prefix('api') ->middleware('api') ->namespace($this->namespace) ->group(base_path('routes/api/v4/api.php')); } }