phpldapadmin/routes/api.php

25 lines
693 B
PHP
Raw Normal View History

2019-05-14 07:52:49 +00:00
<?php
2020-08-23 01:37:08 +00:00
use Illuminate\Support\Facades\Route;
2019-05-14 07:52:49 +00:00
use App\Http\Controllers\APIController;
2019-05-14 07:52:49 +00:00
/*
|--------------------------------------------------------------------------
| API Routes
|--------------------------------------------------------------------------
|
| Here is where you can register API routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
Route::group([],function() {
Route::get('/bases',[APIController::class,'bases']);
Route::get('/children',[APIController::class,'children']);
});
2020-09-15 12:40:32 +00:00
Route::group(['middleware'=>'auth:api','prefix'=>'user'],function() {
});