]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-356] .env
authorAlexander Smirnov <fredeom@mail.ru>
Fri, 7 Mar 2025 15:43:51 +0000 (18:43 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Fri, 7 Mar 2025 15:43:51 +0000 (18:43 +0300)
erp24/services/SiteService.php

index eacc75a6b772be528e6eade8b6a41ed84686c8d1..3787f4c885b98adefec0b4cf9c872d2374465d62 100644 (file)
@@ -9,7 +9,7 @@ class SiteService {
         $client = new Client();
         $result = null;
         try {
-            $result = $client->post('http://test.api.bazacvetov24.ru/v1/order-logs', [
+            $result = $client->post(getenv('SITE_API_URL') . '/v1/order-logs', [
                 'json' => [
                     'phone' => $phone,
                     'bonusCount' => $bonusCount,