]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
debug 5
authorAlexander Smirnov <fredeom@mail.ru>
Fri, 7 Mar 2025 15:52:34 +0000 (18:52 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Fri, 7 Mar 2025 15:52:34 +0000 (18:52 +0300)
erp24/services/SiteService.php

index 3787f4c885b98adefec0b4cf9c872d2374465d62..e27a5fb0871ef26fb6adeeb1bc182fe7d40c224d 100644 (file)
@@ -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,