kyle 2 лет назад
Родитель
Сommit
597d05b400
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      app/Http/Services/Web/Api2021Service.php

+ 2
- 2
app/Http/Services/Web/Api2021Service.php Просмотреть файл

@@ -295,7 +295,7 @@ class Api2021Service
295 295
                 'connect_timeout' => 10, // Connection timeout
296 296
             ];
297 297
 
298
-            if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.13.29'])) $req['proxy'] = env('CCH_PROXY');
298
+            if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197'])) $req['proxy'] = env('CCH_PROXY');
299 299
             $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/contact/QueryQualification', $req);
300 300
             $res = $response->getBody();
301 301
 
@@ -995,7 +995,7 @@ class Api2021Service
995 995
                 'timeout' => 15, // Response timeout
996 996
                 'connect_timeout' => 10, // Connection timeout
997 997
             ];
998
-            if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.11.96', '172.31.13.29'])) $req['proxy'] = env('CCH_PROXY');
998
+            if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.9.233', '172.31.42.197'])) $req['proxy'] = env('CCH_PROXY');
999 999
 
1000 1000
             $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/tag/Tagging', $req);
1001 1001
             $res = $response->getBody();