관리-도구
편집 파일: api.php
<?php use Illuminate\Support\Facades\Route; use Modules\TaxModule\app\Http\Controllers\Api\V1\TaxController; /* |-------------------------------------------------------------------------- | 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' => 'v1', 'as' => 'v1.'], function () { Route::group(['prefix' => 'vat-tax', 'as' => 'vat-tax.'], function () { Route::get('get-taxVat-list', [TaxController::class, 'getTaxVatList']); Route::post('get-calculated-tax', [TaxController::class, 'getCalculateTax']); }); });