update
This commit is contained in:
+8
-1
@@ -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');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user