芝麻web文件管理V1.00
编辑当前文件:/home/forge/stage.herta-bht.smartcon-survey.com/routes/web.php
group(function () { Route::prefix('/dashboard')->group(function () { Route::get('/', [DashboardController::class, 'index'])->name('dashboard'); Route::get('/exportExcel/{type}', [DashboardController::class, 'exportExcel'])->name('exportExcel'); Route::get('/download/{file}', [DashboardController::class, 'download'])->name('file.download'); Route::get('/awareness', [DashboardController::class, 'awarenessForAll'])->name('awareness.index'); Route::get('/{brand:slug}/{product:slug?}', [DashboardController::class, 'show'])->name('dashboard.show'); Route::post('/funnel/{brand}', [DashboardController::class, 'getFunnelData'])->name('funnel'); }); Route::prefix('/documentation')->name('docs.')->group(function () { Route::get('/funnel', [DocumentationController::class, 'funnel'])->name('funnel'); }); Route::prefix('/profile')->name('profile.')->group(function () { Route::get('/', [ProfileController::class, 'edit'])->name('edit'); Route::patch('/', [ProfileController::class, 'update'])->name('update'); Route::delete('/', [ProfileController::class, 'destroy'])->name('destroy'); }); }); require __DIR__.'/auth.php';