diff --git a/app/Services/NaverService.php b/app/Services/NaverService.php index d5162ce..1dace48 100644 --- a/app/Services/NaverService.php +++ b/app/Services/NaverService.php @@ -2,6 +2,7 @@ namespace App\Services; +use CodeIgniter\CLI\CLI; use App\Libraries\NaverApiClient; use App\Models\Entities\VrfcReqModel; use App\Models\Entities\V2stdailyModel; @@ -71,6 +72,7 @@ class NaverService */ private function insertVrfcReq($articleNumber, $params) { + CLI::write(CLI::color('๐ŸŸข ๋งค๋ฌผ ์ •๋ณด ์‹œ์ž‘', 'green')); $existing = $this->VrfcReqModel->where('atcl_no', $articleNumber)->first(); if ($existing) throw new \Exception("์ค‘๋ณต ๋“ฑ๋ก ์‹œ๋„: $articleNumber"); @@ -334,7 +336,7 @@ class NaverService 'final_failure' => null ]; - $vrfc_params = array_merge($vrfc_params, $articl_info_param, $article_info_etc_param); + // $vrfc_params = array_merge($vrfc_params, $articl_info_param, $article_info_etc_param); // ๊ฐœ์ธ: INDIV => 0 // ๋ฒ•์ธ: CORP => 1