This repository has been archived on 2021-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pingan_unionpay/app/Api/ApiServiceProvider.php
2020-08-06 16:42:18 +08:00

28 lines
454 B
PHP

<?php
namespace App\Api;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\ServiceProvider;
class ApiServiceProvider extends ServiceProvider
{
public function boot()
{
}
public function register()
{
$this->loadAdminRoutes();
}
protected function loadAdminRoutes()
{
Route::prefix('api')
->namespace('App\Api\Controllers')
->group(__DIR__ . '/routes.php');
}
}