From: Vladimir Fomichev Date: Thu, 16 Oct 2025 15:53:51 +0000 (+0300) Subject: Логи X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=2de8e78d7624d7f7aaf74e3e03590300433f8d9d;p=erp24_rep%2Fyii-erp24%2F.git Логи --- 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"] ?? "Розничная цена";