phpldapadmin/routes/api.php

26 lines
757 B
PHP
Raw Permalink 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() {
2023-02-14 10:38:42 +00:00
Route::get('bases',[APIController::class,'bases']);
Route::get('children',[APIController::class,'children']);
Route::post('schema/view',[APIController::class,'schema_view']);
});
2020-09-15 12:40:32 +00:00
Route::group(['middleware'=>'auth:api','prefix'=>'user'],function() {
});