вывод аентства в таблицу агентов

This commit is contained in:
developer 2026-04-01 08:22:39 +08:00
parent 2b339d6da8
commit 63291a2c92
2 changed files with 2 additions and 1 deletions

View File

@ -77,6 +77,7 @@ protected static function booted()
{ {
$id = $sender->resultData['id']; $id = $sender->resultData['id'];
$bitrixId->bx_id = $id; $bitrixId->bx_id = $id;
dd($id);
return; return;
}; };
} }

View File

@ -85,7 +85,7 @@ public function send()
$result = file_get_contents($this->getUrl(), false, $context); $result = file_get_contents($this->getUrl(), false, $context);
$result = json_decode($result, $associative = true); $result = json_decode($result, $associative = true);
$this->resultData = $result; $this->resultData = $result;
dd($result); //dd($result);
if (is_array($this->resultData) && array_key_exists('result', $result)) if (is_array($this->resultData) && array_key_exists('result', $result))
{ {
return true; return true;