|
|
|
|
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.11.96', '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.13.29'])) $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
|
|