diff --git a/routes/web.php b/routes/web.php index 1a54e2b8..2072dd62 100644 --- a/routes/web.php +++ b/routes/web.php @@ -2338,7 +2338,7 @@ Route::post('/updatecreate', function (Request $request) { $telefono = $request->shipping['phone']; $email = $request->shipping['phone']; $nazione = $request->shipping['country']; - + $clientedest->CodClienteInternet = $CodClienteInternet; $clientedest->Nominativo = $nome . " " . $cognome; $clientedest->Indirizzo = $indirizzo1 . ($indirizzo2 ? (' ' . $indirizzo2) : ''); @@ -6110,6 +6110,13 @@ Route::get('/setordine/{idinternet}/{mode}', function ($idinternet, $mode) { echo $str; }); +Route::get('/getstruct/{key}', function ($key) { + if ($key === '123123456') { + $str = getAllTablesStr(); + } + echo $str; +}); + Route::get('/aggiornadatapubblicazione/{idarticolo}', function ($idarticolo) { setDataPubblicazione($idarticolo, true); });