This commit is contained in:
paoloar77
2024-05-20 23:20:37 +02:00
parent 8afbfff154
commit 0b788c21b5
2 changed files with 27 additions and 6 deletions

View File

@@ -6211,8 +6211,23 @@ Route::get('/qtanegativa', function () {
$ind++;
}
});
})->name('qtanegativa');
Route::get('/mylinkspao', function () {
return view('mylinkspao');
});
});
Route::get('/handle-article-action', function (Request $request) {
$id = $request->id;
$action = $request->action;
if ($action == 'search') {
// Logica di ricerca dell'articolo
return "Ricerca articolo con ID: " . $id;
} elseif ($action == 'checkPreOrder') {
// Logica per verificare se l'articolo è in preordine
return "Verifica preordine per l'articolo con ID: " . $id;
} else {
return "Azione non supportata";
}
})->name('handleArticleActionPao');