vrfcReqModel 수정
This commit is contained in:
@@ -5,8 +5,8 @@ namespace App\Services;
|
||||
use CodeIgniter\CLI\CLI;
|
||||
use App\Libraries\NaverApiClient;
|
||||
use App\Models\Entities\VrfcReqModel;
|
||||
use App\Models\Entities\V2articleInfoModel;
|
||||
use App\Models\Entities\V2articleInfoetcModel;
|
||||
use App\Models\Entities\V2articleinfoModel;
|
||||
use App\Models\Entities\V2articleinfoetcModel;
|
||||
use App\Models\Entities\V2stdailyModel;
|
||||
use App\Models\Entities\NaverRawStagingModel;
|
||||
use App\Models\Entities\ReceiptModel;
|
||||
@@ -290,12 +290,12 @@ class NaverService
|
||||
$vr_sq = $this->insertVrfcReq($vrfcParam);
|
||||
$articleInfoParam['vr_sq'] = $vr_sq;
|
||||
write_custom_log("articleInfoParam :: " . json_encode($articleInfoParam, JSON_UNESCAPED_UNICODE) , "INFO", "SERVICE");
|
||||
if (!$this->getModel('articleModel', V2articleInfoModel::class)->insert($articleInfoParam)) {
|
||||
if (!$this->getModel('articleModel', V2articleinfoModel::class)->insert($articleInfoParam)) {
|
||||
throw new \Exception("ArticleInfo Insert 실패: " . json_encode($this->db->error()));
|
||||
}
|
||||
|
||||
$articleInfoEtcParam['vr_sq'] = $vr_sq;
|
||||
if (!$this->getModel('articleEtcModel', V2articleInfoetcModel::class)->insert($articleInfoEtcParam)) {
|
||||
if (!$this->getModel('articleEtcModel', V2articleinfoetcModel::class)->insert($articleInfoEtcParam)) {
|
||||
throw new \Exception("ArticleInfoEtc Insert 실패");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user