From f04cb7cfbf8e45d899580b2396888d673073f256 Mon Sep 17 00:00:00 2001 From: Jin Hyuk Date: Tue, 8 Oct 2024 11:11:28 +0900 Subject: [PATCH] =?UTF-8?q?feat/#507:=20=EB=A9=94=EC=86=8C=EB=93=9C?= =?UTF-8?q?=EC=9D=98=20parameter=20=EB=B3=80=EC=88=98=EB=AA=85=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gaebaljip/exceed/adapter/out/redis/RedisAdapter.java | 8 ++++---- .../exceed/application/port/out/member/CodePort.java | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/BE/exceed/src/main/java/com/gaebaljip/exceed/adapter/out/redis/RedisAdapter.java b/BE/exceed/src/main/java/com/gaebaljip/exceed/adapter/out/redis/RedisAdapter.java index ba720ee3..c60f0330 100644 --- a/BE/exceed/src/main/java/com/gaebaljip/exceed/adapter/out/redis/RedisAdapter.java +++ b/BE/exceed/src/main/java/com/gaebaljip/exceed/adapter/out/redis/RedisAdapter.java @@ -22,12 +22,12 @@ public void saveWithExpiration(String key, String code, Long expiredTime) { @Override @Timer - public Optional query(String email) { - return Optional.ofNullable(redisUtils.getData(email)); + public Optional query(String key) { + return Optional.ofNullable(redisUtils.getData(key)); } @Override - public void delete(String email) { - redisUtils.deleteData(email); + public void delete(String key) { + redisUtils.deleteData(key); } } diff --git a/BE/exceed/src/main/java/com/gaebaljip/exceed/application/port/out/member/CodePort.java b/BE/exceed/src/main/java/com/gaebaljip/exceed/application/port/out/member/CodePort.java index 414c4869..54a1262c 100644 --- a/BE/exceed/src/main/java/com/gaebaljip/exceed/application/port/out/member/CodePort.java +++ b/BE/exceed/src/main/java/com/gaebaljip/exceed/application/port/out/member/CodePort.java @@ -6,9 +6,9 @@ @Component public interface CodePort { - void saveWithExpiration(String email, String code, Long expiredTime); + void saveWithExpiration(String key, String code, Long expiredTime); - Optional query(String email); + Optional query(String key); - void delete(String email); + void delete(String key); }