aa
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user