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"] ?? "Розничная цена";