12345678910111213141516171819202122232425 |
- <?php
- use Illuminate\Http\Request;
- use Illuminate\Support\Facades\Route;
- /*
- |--------------------------------------------------------------------------
- | 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([
- 'prefix' => 'library',
- ], function (\Illuminate\Routing\Router $router) {
- $router->get('/category', [\App\Http\Controllers\LibraryController::class, 'category']);
- $router->get('/book', [\App\Http\Controllers\LibraryController::class, 'book']);
- $router->get('/category/resource-type-maps', [\App\Http\Controllers\LibraryController::class, 'resourceTypeMaps']);
- });
|