From 49d51a9ab6406ddbaf37114c32a928ae597ef3ce Mon Sep 17 00:00:00 2001 From: Jinhong Kim Date: Tue, 17 Oct 2023 18:39:08 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=ED=81=B4=EB=9E=98=EC=8A=A4=20?= =?UTF-8?q?=EB=A7=A8=20=EC=9C=97=20=EC=A4=84=20=EC=A4=84=EB=B0=94=EA=BF=88?= =?UTF-8?q?=20=EC=97=AC=EB=B6=80=20=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/it/numble/hittracker/HitTrackerApplication.java | 1 - .../it/numble/hittracker/common/response/BaseResponseBody.java | 1 + .../java/it/numble/hittracker/controller/dto/UrlHitInfoDto.java | 1 + .../java/it/numble/hittracker/HitTrackerApplicationTests.java | 1 - 4 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/it/numble/hittracker/HitTrackerApplication.java b/src/main/java/it/numble/hittracker/HitTrackerApplication.java index b2c4e48..e9303af 100644 --- a/src/main/java/it/numble/hittracker/HitTrackerApplication.java +++ b/src/main/java/it/numble/hittracker/HitTrackerApplication.java @@ -11,5 +11,4 @@ public class HitTrackerApplication { public static void main(String[] args) { SpringApplication.run(HitTrackerApplication.class, args); } - } diff --git a/src/main/java/it/numble/hittracker/common/response/BaseResponseBody.java b/src/main/java/it/numble/hittracker/common/response/BaseResponseBody.java index 42a59d2..8406c9d 100644 --- a/src/main/java/it/numble/hittracker/common/response/BaseResponseBody.java +++ b/src/main/java/it/numble/hittracker/common/response/BaseResponseBody.java @@ -25,5 +25,6 @@ public static BaseResponseBody error(String errorMessage) { } enum Status { + SUCCESS, ERROR } \ No newline at end of file diff --git a/src/main/java/it/numble/hittracker/controller/dto/UrlHitInfoDto.java b/src/main/java/it/numble/hittracker/controller/dto/UrlHitInfoDto.java index b577f9b..0826ea1 100644 --- a/src/main/java/it/numble/hittracker/controller/dto/UrlHitInfoDto.java +++ b/src/main/java/it/numble/hittracker/controller/dto/UrlHitInfoDto.java @@ -4,6 +4,7 @@ @Getter public class UrlHitInfoDto { + private String url; private int todayHit; private int totalHit; diff --git a/src/test/java/it/numble/hittracker/HitTrackerApplicationTests.java b/src/test/java/it/numble/hittracker/HitTrackerApplicationTests.java index 7b5b725..dabda32 100644 --- a/src/test/java/it/numble/hittracker/HitTrackerApplicationTests.java +++ b/src/test/java/it/numble/hittracker/HitTrackerApplicationTests.java @@ -9,5 +9,4 @@ class HitTrackerApplicationTests { @Test void contextLoads() { } - }