phpvms/routes/api.php

21 lines
591 B
PHP
Raw Normal View History

2017-06-09 02:28:26 +08:00
<?php
use Illuminate\Http\Request;
/*
|--------------------------------------------------------------------------
| 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!
|
*/
2017-08-15 07:26:20 +08:00
Route::group([], function () {
Route::match(['get'], 'status', 'BaseController@status');
Route::match(['get'], 'flights/search', 'FlightController@search');
});