shorten url :ps
This commit is contained in:
parent
2e3c14c306
commit
6aa5cca55b
@ -11318,9 +11318,11 @@ public function getCompaniesListsFromGeneralFormRawJSON_post()
|
||||
$res = $client->get($concat_url,['headers'=>['Content-Type' => 'application/json']]);
|
||||
if($res && $res->getStatusCode() == 200)
|
||||
{
|
||||
$result_data = json_decode($response->getBody()->getContents());
|
||||
$result_data = json_decode($res->getBody()->getContents());
|
||||
}else{
|
||||
$result_data = array();
|
||||
}
|
||||
print_r($result_data);die();
|
||||
// print_r($result_data);die();
|
||||
if(!empty($result_data) && $result_data['datastatus'] == 200)
|
||||
{
|
||||
$data['dataStatus'] = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user