вывод аентства в таблицу агентов
This commit is contained in:
parent
2b339d6da8
commit
63291a2c92
@ -77,6 +77,7 @@ protected static function booted()
|
||||
{
|
||||
$id = $sender->resultData['id'];
|
||||
$bitrixId->bx_id = $id;
|
||||
dd($id);
|
||||
return;
|
||||
};
|
||||
}
|
||||
|
||||
@ -85,7 +85,7 @@ public function send()
|
||||
$result = file_get_contents($this->getUrl(), false, $context);
|
||||
$result = json_decode($result, $associative = true);
|
||||
$this->resultData = $result;
|
||||
dd($result);
|
||||
//dd($result);
|
||||
if (is_array($this->resultData) && array_key_exists('result', $result))
|
||||
{
|
||||
return true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user