Browse Source

小遊戲復活

kyle 2 years ago
parent
commit
597d05b400
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/Http/Services/Web/Api2021Service.php

+ 2
- 2
app/Http/Services/Web/Api2021Service.php View File

@@ -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();