From 2de8e78d7624d7f7aaf74e3e03590300433f8d9d Mon Sep 17 00:00:00 2001 From: Vladimir Fomichev Date: Thu, 16 Oct 2025 18:53:51 +0300 Subject: [PATCH] =?utf8?q?=D0=9B=D0=BE=D0=B3=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/services/UploadService.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erp24/services/UploadService.php b/erp24/services/UploadService.php index b0acc744..9f451240 100644 --- a/erp24/services/UploadService.php +++ b/erp24/services/UploadService.php @@ -94,7 +94,9 @@ class UploadService { if ($apiCron) { $jsn = json_decode($apiCron->json_post, true, 512, JSON_UNESCAPED_UNICODE); $start_time = $jsn["checks"]["start_time"] ?? date('Y-m-d 00:00:00', time() - 3 * 86400); + LogService::apiErrorLog(json_encode(["error_id" => 144, "error" => $start_time], JSON_UNESCAPED_UNICODE)); $end_time = $jsn["checks"]["end_time"] ?? date('Y-m-d 00:00:00', time()); + LogService::apiErrorLog(json_encode(["error_id" => 144, "error" => $end_time], JSON_UNESCAPED_UNICODE)); $checks_dell = $jsn["checks_dell"] ?? ""; $type_price = $jsn["prices"]["type_price"] ?? "Розничная цена"; -- 2.39.5