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
|
|
|
|
2021-12-03 02:36:25 +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!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2020-08-31 11:41:45 +00:00
|
|
|
Route::group([],function() {
|
2021-12-03 02:36:25 +00:00
|
|
|
Route::get('/bases',[APIController::class,'bases']);
|
|
|
|
Route::get('/children',[APIController::class,'children']);
|
2020-08-27 12:46:07 +00:00
|
|
|
});
|
2020-09-15 12:40:32 +00:00
|
|
|
|
|
|
|
Route::group(['middleware'=>'auth:api','prefix'=>'user'],function() {
|
|
|
|
});
|