fix(route): resolve F-06 — fix route name typo 'thrshold' to 'threshold'

This commit is contained in:
root
2026-05-30 22:18:38 +08:00
parent 8f7ed77612
commit 05fdfac76d

View File

@@ -19,12 +19,13 @@ Route::middleware('auth')->group(function () {
Route::get('/rainfall/graph/{stationid}', [App\Http\Controllers\RainfallController::class, 'rainfallGraph'])->name('rainfall.graph');
Route::get('/rainfall/historical', [App\Http\Controllers\RainfallController::class, 'historicalRainfall'])->name('historicalrf');
Route::get('/rainfall/historical/export', [App\Http\Controllers\RainfallController::class, 'exportHourlyRainfallExcel'])->name('historicalrfexport');
Route::get('/rainfall/daily', [App\Http\Controllers\RainfallController::class, 'dailyRainfall'])->name('dailyrainfall');
Route::get('/threshold', [App\Http\Controllers\RainfallController::class, 'rainfallSum'])->name('threshold');
Route::get('/threshold/graph/{stationid}/{dates}', [App\Http\Controllers\RainfallController::class, 'graphPage'])->name('threshold.graph');
Route::get('/threshold/graphData/{stationid}/{dates}', [App\Http\Controllers\RainfallController::class, 'graphData'])->name('thrshold.graphData');
Route::get('/threshold/graphData/{stationid}/{dates}', [App\Http\Controllers\RainfallController::class, 'graphData'])->name('threshold.graphData');
Route::get('/waterlevel',[App\Http\Controllers\WaterLevelController::class, 'index'])->name('waterlevel');
Route::get('/waterlevel/historical',[App\Http\Controllers\WaterLevelController::class, 'wlHistory'])->name('historicalwl');