2019-05-14 07:52:49 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Http\Request;
|
2020-08-23 01:37:08 +00:00
|
|
|
use Illuminate\Support\Facades\Route;
|
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!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2020-08-23 01:37:08 +00:00
|
|
|
/*
|
|
|
|
Route::middleware('auth:api')->get('/user', function (Request $request) {
|
|
|
|
return $request->user();
|
|
|
|
});
|
|
|
|
*/
|
2020-08-31 11:41:45 +00:00
|
|
|
Route::group([],function() {
|
2020-09-14 11:08:55 +00:00
|
|
|
Route::get('/bases','APIController@bases');
|
|
|
|
Route::get('/children','APIController@children');
|
2020-08-27 12:46:07 +00:00
|
|
|
});
|