vrfcReqModel 수정
This commit is contained in:
@@ -16,22 +16,27 @@ use Exception;
|
||||
class NaverService
|
||||
{
|
||||
protected $db;
|
||||
protected $naverClient, $VrfcReqModel, $V2stdailyModel, $statusService, $rawStagingModel, $receiptModel, $resultModel , $articleModel;
|
||||
protected $naverClient;
|
||||
protected $VrfcReqModel;
|
||||
protected $V2stdailyModel;
|
||||
protected $statusService;
|
||||
protected $rawStagingModel;
|
||||
protected $receiptModel;
|
||||
protected $resultModel;
|
||||
protected $articleModel;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->db = \Config\Database::connect();
|
||||
|
||||
$this->naverClient = new NaverApiClient();
|
||||
$this->VrfcReqModel = model(VrfcReqModel::class);
|
||||
$this->articleModel = model(V2ArticleInfoModel::class);
|
||||
$this->V2stdailyModel = model(V2stdailyModel::class);
|
||||
$this->rawStagingModel = model(NaverRawStagingModel::class);
|
||||
$this->VrfcReqModel = new VrfcReqModel();
|
||||
$this->articleModel = new V2ArticleInfoModel();
|
||||
$this->V2stdailyModel = new V2stdailyModel();
|
||||
$this->rawStagingModel = new NaverRawStagingModel();
|
||||
$this->receiptModel = new ReceiptModel();
|
||||
$this->resultModel = new ResultModel();
|
||||
|
||||
|
||||
$this->receiptModel = model(ReceiptModel::class);
|
||||
$this->resultModel = model(ResultModel::class);
|
||||
$this->statusService = new StatusService(); // 인스턴스 생성
|
||||
$this->statusService = new StatusService();
|
||||
|
||||
helper('log');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user