Automation init...1

This commit is contained in:
최준흠 2024-09-06 20:56:00 +09:00
parent fdab7f4307
commit 7c1148abd7
2 changed files with 1 additions and 6 deletions

View File

@ -49,7 +49,7 @@ class Crawler extends BaseController
//미디어관련정보 entity에 넣기
$entity = new BoardEntity();
$entity->setTitle($nickname);
$entity->title = $nickname;
$entity->data_type = "html";
$entity->editor_type = "S";
$entity->content = is_array($mediaTags) ? implode("\n", $mediaTags) : $mediaTags;

View File

@ -19,9 +19,4 @@ class BoardEntity extends CommonEntity
return $this->attributes['title'];
}
//Common Function
public function setTitle(string $value): void
{
$this->attributes['title'] = $value;
}
}