大屏链接

This commit is contained in:
2025-05-12 16:23:31 +08:00
parent b786210ea7
commit af0e8bc62f
6 changed files with 13 additions and 5 deletions
+4 -4
View File
@@ -14,11 +14,11 @@
use Webman\Route;
Route::get('/vehicles', [app\controller\VehicleController::class, 'index']);
Route::get('/vehicles/{id}', [app\controller\VehicleController::class, 'show']);
Route::any('/vehicles', [app\controller\VehicleController::class, 'index']);
Route::any('/vehicles/{id}', [app\controller\VehicleController::class, 'show']);
Route::get('/locations', [app\controller\LocationController::class, 'index']);
Route::get('/locations/{id}', [app\controller\LocationController::class, 'show']);
Route::any('/locations', [app\controller\LocationController::class, 'index']);
Route::any('/locations/{id}', [app\controller\LocationController::class, 'show']);