Automation init...1
This commit is contained in:
parent
fdab7f4307
commit
7c1148abd7
@ -49,7 +49,7 @@ class Crawler extends BaseController
|
|||||||
|
|
||||||
//미디어관련정보 entity에 넣기
|
//미디어관련정보 entity에 넣기
|
||||||
$entity = new BoardEntity();
|
$entity = new BoardEntity();
|
||||||
$entity->setTitle($nickname);
|
$entity->title = $nickname;
|
||||||
$entity->data_type = "html";
|
$entity->data_type = "html";
|
||||||
$entity->editor_type = "S";
|
$entity->editor_type = "S";
|
||||||
$entity->content = is_array($mediaTags) ? implode("\n", $mediaTags) : $mediaTags;
|
$entity->content = is_array($mediaTags) ? implode("\n", $mediaTags) : $mediaTags;
|
||||||
|
|||||||
@ -19,9 +19,4 @@ class BoardEntity extends CommonEntity
|
|||||||
return $this->attributes['title'];
|
return $this->attributes['title'];
|
||||||
}
|
}
|
||||||
//Common Function
|
//Common Function
|
||||||
|
|
||||||
public function setTitle(string $value): void
|
|
||||||
{
|
|
||||||
$this->attributes['title'] = $value;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user