아파트 평면도 상세 페이지 추가

This commit is contained in:
yangsh
2025-12-29 13:50:46 +09:00
parent ab39be9602
commit e0672d325c
7 changed files with 1432 additions and 36 deletions

View File

@@ -110,6 +110,26 @@ class MyUpload
return $this->s3_data;
}
/**
*
*/
public function deleteFile($key)
{
$s3Client = $this->makeS3Client();
try {
$s3Client->deleteObject([
'Bucket' => NCLOUD_S3_BUCKET,
'Key' => ltrim($key, '/'),
]);
return true;
} catch (\Throwable $e) {
return false;
}
}
/**
* S3(NCLOUD) 파일 업로드
* 추가일 2025.12.24