diff --git a/config/route.php b/config/route.php index 0d73447..70021f3 100644 --- a/config/route.php +++ b/config/route.php @@ -41,7 +41,7 @@ Route::group('/apis', function() { // 隐私协议 Route::any('/agt/privacy', [\app\apis\controller\AgreementController::class, 'one']); // 品牌按字母查询 - Route::any('/brand/letterAll', [\app\apis\controller\BrandController::class, 'letterAll']); +// Route::any('/brand/letterAll', [\app\apis\controller\BrandController::class, 'letterAll']); }); // ====== ====== ====== 网站 ====== ====== ====== @@ -171,7 +171,7 @@ Route::group('/console', function() { // 新车管理 Route::any('/vehicle/new/list', [\app\console\controller\VehicleNewController::class, 'index']); Route::any('/vehicle/new/add', [\app\console\controller\VehicleNewController::class, 'add']); - Route::any('/vehicle/{id}/update', [\app\console\controller\VehicleNewController::class, 'edit']); + Route::any('/vehicle/new/{id}/update', [\app\console\controller\VehicleNewController::class, 'edit']); Route::any('/vehicle/new/{id}/delete', [\app\console\controller\VehicleNewController::class, 'destroy']); Route::any('/vehicle/new/{id}/detail', [\app\console\controller\VehicleNewController::class, 'detail']);