From b22b5374d7908be497dc1fd375e3d06f7800da7b Mon Sep 17 00:00:00 2001 From: win-luck Date: Fri, 23 Aug 2024 18:05:46 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20=EA=B8=B0=EB=8C=80=ED=8F=89=20=ED=95=84?= =?UTF-8?q?=ED=84=B0=EB=A7=81=20=EA=B8=B0=EC=A4=80=20=EC=9E=AC=EC=A1=B0?= =?UTF-8?q?=EC=A0=95=20(#150)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/hyundai/softeer/orange/common/ErrorCode.java | 2 +- .../java/hyundai/softeer/orange/common/util/ConstantUtil.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/hyundai/softeer/orange/common/ErrorCode.java b/src/main/java/hyundai/softeer/orange/common/ErrorCode.java index ffa709de..6d41d828 100644 --- a/src/main/java/hyundai/softeer/orange/common/ErrorCode.java +++ b/src/main/java/hyundai/softeer/orange/common/ErrorCode.java @@ -10,7 +10,7 @@ public enum ErrorCode { // 400 Bad Request BAD_REQUEST(HttpStatus.BAD_REQUEST, "잘못된 요청입니다."), - INVALID_COMMENT(HttpStatus.BAD_REQUEST, "부정적인 표현을 사용하였습니다."), + INVALID_COMMENT(HttpStatus.BAD_REQUEST, "긍정적인 기대평을 작성해주세요."), INVALID_JSON(HttpStatus.BAD_REQUEST, "잘못된 JSON 형식입니다."), INVALID_URL(HttpStatus.BAD_REQUEST, "유효하지 않은 URL입니다."), INVALID_INPUT_EVENT_TIME(HttpStatus.BAD_REQUEST, "입력된 시간 중 일부가 조건에 맞지 않습니다."), diff --git a/src/main/java/hyundai/softeer/orange/common/util/ConstantUtil.java b/src/main/java/hyundai/softeer/orange/common/util/ConstantUtil.java index b7ae2240..380fdbf1 100644 --- a/src/main/java/hyundai/softeer/orange/common/util/ConstantUtil.java +++ b/src/main/java/hyundai/softeer/orange/common/util/ConstantUtil.java @@ -25,7 +25,7 @@ public class ConstantUtil { public static final String DB_TO_REDIS_LOCK = "FCFS_MANAGE_DB_TO_REDIS"; public static final String REDIS_TO_DB_LOCK = "FCFS_MANAGE_REDIS_TO_DB"; - public static final double LIMIT_NEGATIVE_CONFIDENCE = 99.5; + public static final double LIMIT_NEGATIVE_CONFIDENCE = 80; public static final int COMMENTS_SIZE = 20; public static final int SCHEDULED_TIME = 1000 * 60 * 60 * 2; public static final int SHORT_URL_LENGTH = 10;