Showing
1 changed file
with
3 additions
and
1 deletions
| ... | @@ -16,6 +16,8 @@ use App\Http\Controllers\OcrController; | ... | @@ -16,6 +16,8 @@ use App\Http\Controllers\OcrController; |
| 16 | Route::get('/', function () { | 16 | Route::get('/', function () { |
| 17 | return view('welcome'); | 17 | return view('welcome'); |
| 18 | }); | 18 | }); |
| 19 | -Route::get('/mapping', [OcrController::class, 'index']); | 19 | +Route::get('/ocr', [OcrController::class, 'index']); |
| 20 | Route::get('/ocr/data-list', [OcrController::class, 'getData']); | 20 | Route::get('/ocr/data-list', [OcrController::class, 'getData']); |
| 21 | Route::post('/ocr/save-template', [OcrController::class, 'store'])->name('store'); | 21 | Route::post('/ocr/save-template', [OcrController::class, 'store'])->name('store'); |
| 22 | +Route::get('/ocr/templates', [OcrController::class, 'getTemplateList'])->name('templates.list'); | ||
| 23 | +Route::delete('/ocr/templates/{id}', [OcrController::class, 'deleteTemplate'])->name('templates.delete'); | ... | ... |
-
Please register or sign in to post a comment