This commit is contained in:
paoloar77
2024-05-21 01:08:30 +02:00
parent 65aac0a2c5
commit 3d72295adb
2 changed files with 4 additions and 2 deletions

View File

@@ -6147,13 +6147,15 @@ Route::get('/mylinkspao', function () {
});
Route::get('/handle-article-action-pao/{id}/{action}', function ($id, $action) {
set_time_limit(0);
ini_set("memory_limit", "512M");
if ($action == 'search') {
// Logica di ricerca dell'articolo
return loadArticleByIdArticle($id);
} elseif ($action == 'inprevendita') {
return libriInPrevendita();
} elseif ($action == 'checkPrevendita') {
// Logica per verificare se l'articolo è in preordine
$inprevendita = isArticleInPrevendita($id);