新车详情、删除

This commit is contained in:
2025-05-22 10:59:47 +08:00
parent 80b6ea2076
commit d9423e9bce
6 changed files with 178 additions and 14 deletions
+3 -4
View File
@@ -171,10 +171,9 @@ 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}/do', [\app\console\controller\VehicleNewController::class, 'doSaled']);
// Route::any('/vehicle/new/{id}/delete', [\app\console\controller\VehicleNewController::class, 'destroy']);
// Route::any('/vehicle/new/{id}/detail', [\app\console\controller\VehicleNewController::class, 'detail']);
Route::any('/vehicle/{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']);
// 上传
Route::any('/upload/image', [\app\mzl\modules\upload\controller\UploadController::class, 'uploadImage']);