From c3b588c03ddc7b92130d8c152441fb4a501ef1c9 Mon Sep 17 00:00:00 2001 From: jjstyle Date: Fri, 16 Jan 2026 15:46:51 +0900 Subject: [PATCH] =?UTF-8?q?ownertypcode=20=ED=99=95=EC=9D=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/NaverService.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/Services/NaverService.php b/app/Services/NaverService.php index 1dace48..bf4aa43 100644 --- a/app/Services/NaverService.php +++ b/app/Services/NaverService.php @@ -205,6 +205,8 @@ class NaverService } } + $ownerTypeRaw = ownerTypeRaw ?? null; + $vrfc_params = [ 'reqSeq' => '', 'atcl_no' => $articleInfo['articleNumber'], @@ -307,20 +309,20 @@ class NaverService 'reference_file_url_yn' => empty($referenceFileUrl) ? 'N' : 'Y', 'registerBookUniqueNo' => null, // 검증 참고란 'relationSellerAndOwner' => null, // 의뢰인과 소유주 관계 - 'ownerTypeCode' => getOwnerTypeCodeNo($articleInfo['seller']['ownerTypeCode']) ?? null, // 소유자구분코드 + 'ownerTypeCode' => getOwnerTypeCodeNo($ownerTypeRaw) ?? null, // 소유자구분코드 'registerBookUniqueNumber' => null, // 등기부 고유번호 ]; $article_info_etc_param = [ - 'corp_own' => $articleInfo['seller']['ownerTypeCode'] == 'CORP' ? 'Y' : 'N', + 'corp_own' => $ownerTypeRaw == 'CORP' ? 'Y' : 'N', 'bild_no' => null, // 건물번호 'address2a' => $articleInfo['address']['liAddress'] ?? null, // 지번주소 'address2b' => $articleInfo['address']['jibunAddress'] ?? null, // 도로명주소 'expsStartYmdt' => $articleInfo['exposureStartDateTime'] ?? null, 'vrfcAutoPassYn' => $articleInfo['isAutoVerificationRequested'] === true ? 'Y' : 'N', 'registerBookUniqueNo' => null, - 'ownerTypeCode' => getOwnerTypeCodeNo($articleInfo['seller']['ownerTypeCode']) ?? null, + 'ownerTypeCode' => getOwnerTypeCodeNo($ownerTypeRaw) ?? null, 'orgRepCphNo' => null, 'orgRepTelNo' => null,// 원중개사 대표자명 'orgRltrNm' => null, // 원중개사 대표자명