2019-05-14 17:52:49 +10:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Http\Request;
|
2020-08-23 11:37:08 +10:00
|
|
|
use Illuminate\Support\Facades\Route;
|
2019-05-14 17:52:49 +10: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-31 21:41:45 +10:00
|
|
|
Route::group([],function() {
|
2020-09-14 21:08:55 +10:00
|
|
|
Route::get('/bases','APIController@bases');
|
|
|
|
Route::get('/children','APIController@children');
|
2020-08-27 22:46:07 +10:00
|
|
|
});
|
2020-09-15 22:40:32 +10:00
|
|
|
|
|
|
|
Route::group(['middleware'=>'auth:api','prefix'=>'user'],function() {
|
|
|
|
});
|