From 78df430bd850f8377f83e6d51ad0a82b16285b39 Mon Sep 17 00:00:00 2001 From: ihun-il Date: Wed, 1 Nov 2023 15:25:35 +0900 Subject: [PATCH] =?UTF-8?q?:page=5Ffacing=5Fup::=20S3=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EA=B8=B0=EB=B3=B8=20=ED=94=84=EB=A1=9C?= =?UTF-8?q?=ED=95=84=20=EC=9D=B4=EB=AF=B8=EC=A7=80,=20=EC=98=A8=EB=8F=84?= =?UTF-8?q?=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/temperature/service/TemperatureService.java | 10 +++++----- src/main/resources/data.sql | 9 +++++---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/main/java/ohsoontaxi/backend/domain/temperature/service/TemperatureService.java b/src/main/java/ohsoontaxi/backend/domain/temperature/service/TemperatureService.java index e852a59..4013427 100644 --- a/src/main/java/ohsoontaxi/backend/domain/temperature/service/TemperatureService.java +++ b/src/main/java/ohsoontaxi/backend/domain/temperature/service/TemperatureService.java @@ -59,19 +59,19 @@ private static void updateTemperatureImage(Temperature temperature) { switch((int) (currentTemperature / 20)) { case 5, 4: - image = "https://ohsoontaxi.s3.ap-northeast-2.amazonaws.com/1%7C7491b506-606c-40de-9053-84c86b3b1f5b.png"; + image = "https://ohsoonbucket.s3.ap-northeast-2.amazonaws.com/image/1%7C3fad8504-31f5-4243-9aae-6d710cbdbdae.png"; break; case 3: - image = "https://ohsoontaxi.s3.ap-northeast-2.amazonaws.com/1%7C1685e865-278c-4e74-8f2e-8c6d5daf2fa1.png"; + image = "https://ohsoonbucket.s3.ap-northeast-2.amazonaws.com/image/1%7C4388d892-76e4-4530-91f7-6f8eab7b2cc3.png"; break; case 2: - image = "https://ohsoontaxi.s3.ap-northeast-2.amazonaws.com/1%7C3a0f6539-4467-48c3-b4b6-2b27d0126be6.png"; + image = "https://ohsoonbucket.s3.ap-northeast-2.amazonaws.com/image/1%7Cb34fae75-7946-4e5c-8176-5f7a63dcc120.png"; break; case 1: - image = "https://ohsoontaxi.s3.ap-northeast-2.amazonaws.com/1%7C31d30651-c9a3-4d77-a2d1-8f21c95ce400.png"; + image = "https://ohsoonbucket.s3.ap-northeast-2.amazonaws.com/image/1%7C21e880a0-f44a-487c-9958-b75b6a640ee7.png"; break; default: - image = "https://ohsoontaxi.s3.ap-northeast-2.amazonaws.com/1%7Ca6caee77-23c3-46b7-80d6-49b56d76a8f2.png"; + image = "https://ohsoonbucket.s3.ap-northeast-2.amazonaws.com/image/1%7C3443f4ba-3560-4e5c-b3f2-eb0e9d5e8b5f.png"; break; } diff --git a/src/main/resources/data.sql b/src/main/resources/data.sql index 9b428ca..ea9e7ec 100644 --- a/src/main/resources/data.sql +++ b/src/main/resources/data.sql @@ -1,7 +1,8 @@ INSERT INTO profile_image(profile_image_id, image_url) VALUES - (1, 'https://ohsoontaxi.s3.ap-northeast-2.amazonaws.com/1%7C098f3311-eae2-4f51-8ae7-90b4fa0887fc.jpeg'), - (2, 'https://ohsoontaxi.s3.ap-northeast-2.amazonaws.com/1%7Cea98a33e-8cda-49e9-ae0a-5ec66f935cea.jpeg'), - (3, 'https://ohsoontaxi.s3.ap-northeast-2.amazonaws.com/1%7Ceedc049d-b84e-427b-abb2-003f454af16d.jpeg'), - (4, 'https://ohsoontaxi.s3.ap-northeast-2.amazonaws.com/1%7Cf6e4f790-665e-42c1-a013-0185f31672e0.jpeg') + (1, 'https://ohsoonbucket.s3.ap-northeast-2.amazonaws.com/image/1%7C107648f1-9d4a-4f4b-bec6-69a7e911af9a.jpeg'), + (2, 'https://ohsoonbucket.s3.ap-northeast-2.amazonaws.com/image/1%7C1eec6834-8c60-464e-8c02-ae5d8116ba85.jpeg'), + (3, 'https://ohsoonbucket.s3.ap-northeast-2.amazonaws.com/image/1%7C46f4fcf7-744a-457c-8f64-7b7e159a49cd.jpeg'), + (4, 'https://ohsoonbucket.s3.ap-northeast-2.amazonaws.com/image/1%7C9f644f39-1929-48fb-bee8-6319c95a53bc.jpeg'), + (5, 'https://ohsoonbucket.s3.ap-northeast-2.amazonaws.com/image/1%7Cd782da88-cc95-42b5-8233-416891e875a2.jpeg') ON DUPLICATE KEY UPDATE image_url = VALUES(image_url); \ No newline at end of file