|
@@ -295,8 +295,7 @@ class Api2021Service
|
295
|
295
|
'connect_timeout' => 10, // Connection timeout
|
296
|
296
|
];
|
297
|
297
|
|
298
|
|
- if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196', '172.31.11.96', '172.31.13.29'])) $req['proxy'] = env('CCH_PROXY');
|
299
|
|
-// if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.16.196'])) $req['proxy'] = env('CCH_PROXY');
|
|
298
|
+ if (!in_array($_SERVER['SERVER_ADDR'], ['172.31.30.167', '172.31.11.96', '172.31.13.29'])) $req['proxy'] = env('CCH_PROXY');
|
300
|
299
|
$response = $this->c->request('POST', env('API_BASE') . '/line/api/twpapi/contact/QueryQualification', $req);
|
301
|
300
|
$res = $response->getBody();
|
302
|
301
|
|