Automation init...3
This commit is contained in:
parent
f72a46d180
commit
dfb5808584
@ -48,7 +48,7 @@ abstract class MyCrawlerLibrary extends CommonLibrary
|
||||
$this->getMyStorage()->setOriginContent($content);
|
||||
$this->getMyStorage()->setOriginType($mediaType);
|
||||
$this->getMyStorage()->setOriginSequence($file_sequence);
|
||||
$results[] = $this->getMyStorage()->save();
|
||||
$myStorageLibrarys[] = $this->getMyStorage()->save();
|
||||
$file_sequence++;
|
||||
log_message("notice", __FUNCTION__ . " OriginType->{$mediaType} 작업 완료");
|
||||
} catch (\Exception $e) {
|
||||
@ -60,6 +60,6 @@ abstract class MyCrawlerLibrary extends CommonLibrary
|
||||
));
|
||||
}
|
||||
}
|
||||
return $results;
|
||||
return $myStorageLibrarys;
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,7 +6,6 @@ use App\Libraries\MySocket\WebLibrary as MySocketLibrary;
|
||||
use App\Libraries\MyStorage\Mangboard\FileLibrary as MyStorageLibrary;
|
||||
use App\Models\Mangboard\UserModel;
|
||||
use App\Models\Mangboard\BoardModel;
|
||||
use App\Entities\Mangboard\BoardEntity;
|
||||
use App\Entities\Mangboard\UserEntity;
|
||||
use Symfony\Component\DomCrawler\Crawler;
|
||||
|
||||
|
||||
@ -64,7 +64,7 @@ abstract class CommonModel extends Model
|
||||
{
|
||||
return $this->_action = $action;
|
||||
}
|
||||
final public function getFields(string $key = "", array $fields): array
|
||||
final public function getFields(string $key = "", array $fields = []): array
|
||||
{
|
||||
$allowedFields = array_filter(
|
||||
$this->allowedFields,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user