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()->setOriginContent($content);
|
||||||
$this->getMyStorage()->setOriginType($mediaType);
|
$this->getMyStorage()->setOriginType($mediaType);
|
||||||
$this->getMyStorage()->setOriginSequence($file_sequence);
|
$this->getMyStorage()->setOriginSequence($file_sequence);
|
||||||
$results[] = $this->getMyStorage()->save();
|
$myStorageLibrarys[] = $this->getMyStorage()->save();
|
||||||
$file_sequence++;
|
$file_sequence++;
|
||||||
log_message("notice", __FUNCTION__ . " OriginType->{$mediaType} 작업 완료");
|
log_message("notice", __FUNCTION__ . " OriginType->{$mediaType} 작업 완료");
|
||||||
} catch (\Exception $e) {
|
} 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\Libraries\MyStorage\Mangboard\FileLibrary as MyStorageLibrary;
|
||||||
use App\Models\Mangboard\UserModel;
|
use App\Models\Mangboard\UserModel;
|
||||||
use App\Models\Mangboard\BoardModel;
|
use App\Models\Mangboard\BoardModel;
|
||||||
use App\Entities\Mangboard\BoardEntity;
|
|
||||||
use App\Entities\Mangboard\UserEntity;
|
use App\Entities\Mangboard\UserEntity;
|
||||||
use Symfony\Component\DomCrawler\Crawler;
|
use Symfony\Component\DomCrawler\Crawler;
|
||||||
|
|
||||||
|
|||||||
@ -64,7 +64,7 @@ abstract class CommonModel extends Model
|
|||||||
{
|
{
|
||||||
return $this->_action = $action;
|
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(
|
$allowedFields = array_filter(
|
||||||
$this->allowedFields,
|
$this->allowedFields,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user