From 05b742cf723b7d4f19b6b7f8f9af56d4dfed37d1 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Fri, 7 Mar 2025 18:52:34 +0300 Subject: [PATCH] debug 5 --- erp24/services/SiteService.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/erp24/services/SiteService.php b/erp24/services/SiteService.php index 3787f4c8..e27a5fb0 100644 --- a/erp24/services/SiteService.php +++ b/erp24/services/SiteService.php @@ -9,7 +9,9 @@ class SiteService { $client = new Client(); $result = null; try { - $result = $client->post(getenv('SITE_API_URL') . '/v1/order-logs', [ + $url = getenv('SITE_API_URL') . '/v1/order-logs'; + LogService::apiErrorLog(json_encode(["error_id" => 7, "error" => "!!!!!!!!!!!!!: " . $url], JSON_UNESCAPED_UNICODE)); + $result = $client->post($url, [ 'json' => [ 'phone' => $phone, 'bonusCount' => $bonusCount, -- 2.39.5