This commit is contained in:
pbao9
2026-02-11 11:18:35 +07:00
parent d59b2a0840
commit 6b6385f441
27 changed files with 386 additions and 30 deletions
+8 -1
View File
@@ -1,7 +1,7 @@
<?php
use App\Http\Controllers\Api\Client\ClientController;
use App\Http\Controllers\Api\Service\ServiceController;
Route::prefix('v1')->group(function () {
@@ -18,6 +18,13 @@ Route::prefix('v1')->group(function () {
});
});
});
Route::prefix('services')->middleware('api.auth')->as('services.')->group(function () {
Route::controller(ServiceController::class)->group(function () {
Route::get('get-list', 'getService')->name('getList');
Route::get('{product:slug}', 'getDetailService')->name('detail');
});
});
});