]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
Логи
authorVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Thu, 16 Oct 2025 15:53:51 +0000 (18:53 +0300)
committerVladimir Fomichev <vladimir.fomichev@erp-flowers.ru>
Thu, 16 Oct 2025 15:53:51 +0000 (18:53 +0300)
erp24/services/UploadService.php

index b0acc7440884aa59249af370fd2a9dfe9806375d..9f4512403e05e8fe0587ad66f7adb03909dacdf9 100644 (file)
@@ -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"] ?? "Розничная цена";