vrfcReqModel 수정

This commit is contained in:
2026-01-23 18:25:32 +09:00
parent 43d45332ef
commit 0d1c6855e5

View File

@@ -16,22 +16,27 @@ use Exception;
class NaverService class NaverService
{ {
protected $db; 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() public function __construct()
{ {
$this->db = \Config\Database::connect(); $this->db = \Config\Database::connect();
$this->naverClient = new NaverApiClient(); $this->VrfcReqModel = new VrfcReqModel();
$this->VrfcReqModel = model(VrfcReqModel::class); $this->articleModel = new V2ArticleInfoModel();
$this->articleModel = model(V2ArticleInfoModel::class); $this->V2stdailyModel = new V2stdailyModel();
$this->V2stdailyModel = model(V2stdailyModel::class); $this->rawStagingModel = new NaverRawStagingModel();
$this->rawStagingModel = model(NaverRawStagingModel::class); $this->receiptModel = new ReceiptModel();
$this->resultModel = new ResultModel();
$this->statusService = new StatusService();
$this->receiptModel = model(ReceiptModel::class);
$this->resultModel = model(ResultModel::class);
$this->statusService = new StatusService(); // 인스턴스 생성
helper('log'); helper('log');
} }