From 44565c49a2eb3359724a493201131292f9566cd8 Mon Sep 17 00:00:00 2001 From: voka Date: Sun, 12 Nov 2023 19:25:32 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=EC=B6=9C=EB=A0=A5=ED=95=98=EB=8A=94?= =?UTF-8?q?=20=EB=B6=80=EB=B6=84=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mmm/emopic/app/domain/photo/support/ImageUploader.java | 3 +-- .../java/mmm/emopic/app/domain/photo/support/KakaoMapAPI.java | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/emopic/src/main/java/mmm/emopic/app/domain/photo/support/ImageUploader.java b/emopic/src/main/java/mmm/emopic/app/domain/photo/support/ImageUploader.java index 9a4680e..b58eb85 100644 --- a/emopic/src/main/java/mmm/emopic/app/domain/photo/support/ImageUploader.java +++ b/emopic/src/main/java/mmm/emopic/app/domain/photo/support/ImageUploader.java @@ -31,8 +31,7 @@ public String imageUpload(String objectName, MultipartFile image) { BlobInfo blobInfo = BlobInfo.newBuilder(blobId) .setContentType("image/jpeg").build(); storage.create(blobInfo,image.getBytes()); - System.out.println( - "File uploaded to bucket " + bucketName + " as " + objectName); + //System.out.println("File uploaded to bucket " + bucketName + " as " + objectName); return objectName; } catch (IOException e){ diff --git a/emopic/src/main/java/mmm/emopic/app/domain/photo/support/KakaoMapAPI.java b/emopic/src/main/java/mmm/emopic/app/domain/photo/support/KakaoMapAPI.java index e962247..23250b0 100644 --- a/emopic/src/main/java/mmm/emopic/app/domain/photo/support/KakaoMapAPI.java +++ b/emopic/src/main/java/mmm/emopic/app/domain/photo/support/KakaoMapAPI.java @@ -28,7 +28,7 @@ public class KakaoMapAPI { public Optional getLocationInfo(double latitude, double longitude){ String requestUrl = String.format("%s.json?x=%s&y=%s",rootUrl,longitude,latitude); - System.out.println(requestUrl); + //System.out.println(requestUrl); StringBuffer response = new StringBuffer(); @@ -40,7 +40,7 @@ public Optional getLocationInfo(double latitude, doub //인증키 - KakaoAK하고 한 칸 띄워주셔야해요! String auth = "KakaoAK " + apiKey; - System.out.println(auth); + //System.out.println(auth); HttpURLConnection conn = (HttpURLConnection) url.openConnection();