Bläddra i källkod

小遊戲復活

kyle 2 år sedan
förälder
incheckning
597d05b400
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      app/Http/Services/Web/Api2021Service.php

+ 2
- 2
app/Http/Services/Web/Api2021Service.php Visa fil

295
                 'connect_timeout' => 10, // Connection timeout
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
             $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/contact/QueryQualification', $req);
299
             $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/contact/QueryQualification', $req);
300
             $res = $response->getBody();
300
             $res = $response->getBody();
301
 
301
 
995
                 'timeout' => 15, // Response timeout
995
                 'timeout' => 15, // Response timeout
996
                 'connect_timeout' => 10, // Connection timeout
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
             $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/tag/Tagging', $req);
1000
             $response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/tag/Tagging', $req);
1001
             $res = $response->getBody();
1001
             $res = $response->getBody();