From 38ea1c1129dc3215eac945ee53c2712ea9d432db Mon Sep 17 00:00:00 2001 From: jjstyle Date: Mon, 9 Feb 2026 15:39:52 +0900 Subject: [PATCH] =?UTF-8?q?env=20=ED=99=98=EA=B2=BD=EC=97=90=20=EB=94=B0?= =?UTF-8?q?=EB=9D=BC=20object=20storage=20=EA=B2=BD=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Config/Constants.php | 11 +++++++++-- app/Libraries/NaverApiClient.php | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/app/Config/Constants.php b/app/Config/Constants.php index bf093d1..b458c47 100644 --- a/app/Config/Constants.php +++ b/app/Config/Constants.php @@ -82,8 +82,15 @@ defined('EXIT__AUTO_MAX') || define('EXIT__AUTO_MAX', 125); // highest automa /** * ncloud url */ -define('NCLOUD_OBJECT_STORAGE_URL', 'https://kr.object.ncloudstorage.com/confirms-object'); +// 환경별 버킷 설정 +if (ENVIRONMENT === 'development') { + define('NCLOUD_S3_BUCKET', 'confirms-object-test'); + define('NCLOUD_OBJECT_STORAGE_URL', 'https://kr.object.ncloudstorage.com/confirms-object-test'); +} else { + define('NCLOUD_S3_BUCKET', 'confirms-object'); + define('NCLOUD_OBJECT_STORAGE_URL', 'https://kr.object.ncloudstorage.com/confirms-object'); +} + define('NCLOUD_S3_KEY', 'ncp_iam_BPAMKR3l50hXJiQ6qpSP'); define('NCLOUD_S3_SECRET', 'ncp_iam_BPKMKRW2GU59UE59I1QftVGst6NJgnmbSc'); -define('NCLOUD_S3_BUCKET', 'confirms-object'); define('NCLOUD_S3_ENDPOINT', 'https://kr.object.ncloudstorage.com'); \ No newline at end of file diff --git a/app/Libraries/NaverApiClient.php b/app/Libraries/NaverApiClient.php index 9c27190..45bd7e1 100644 --- a/app/Libraries/NaverApiClient.php +++ b/app/Libraries/NaverApiClient.php @@ -46,6 +46,7 @@ class NaverApiClient return $this->request('PUT', $url, $updateData); } + /** * [POST] 4.매물검증 결과관리 * API:POST /kiso/center/verification-article/{매물번호}/report?charger={담당자명}