From: Alexander Smirnov Date: Fri, 7 Mar 2025 15:52:34 +0000 (+0300) Subject: debug 5 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=05b742cf723b7d4f19b6b7f8f9af56d4dfed37d1;p=erp24_rep%2Fyii-erp24%2F.git debug 5 --- 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,