From 96970ff9516a55afded4d61ac105789a5bcbce4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C?= Date: Fri, 22 Jul 2022 10:35:31 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=89=80=E6=9C=89=E7=9A=84=E8=A6=86?= =?UTF-8?q?=E5=86=99=E6=96=B9=E6=B3=95=EF=BC=8C=E5=BF=85=E9=A1=BB=E5=8A=A0?= =?UTF-8?q?@Override=E6=B3=A8=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/common/exception/GlobalException.java | 1 + 1 file changed, 1 insertion(+) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/exception/GlobalException.java b/ruoyi-common/src/main/java/com/ruoyi/common/exception/GlobalException.java index 318b9ae..f53bfff 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/exception/GlobalException.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/exception/GlobalException.java @@ -45,6 +45,7 @@ public class GlobalException extends RuntimeException return this; } + @Override public String getMessage() { return message; From b8b58cb2029176d1472121ae397ee6c236b7b74f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C?= Date: Fri, 22 Jul 2022 10:57:00 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=89=80=E6=9C=89=E7=9A=84=E8=A6=86?= =?UTF-8?q?=E5=86=99=E6=96=B9=E6=B3=95=EF=BC=8C=E5=BF=85=E9=A1=BB=E5=8A=A0?= =?UTF-8?q?@Override=E6=B3=A8=E8=A7=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ruoyi/common/exception/ServiceException.java | 1 + 1 file changed, 1 insertion(+) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/exception/ServiceException.java b/ruoyi-common/src/main/java/com/ruoyi/common/exception/ServiceException.java index 734e8fc..a9247b5 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/exception/ServiceException.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/exception/ServiceException.java @@ -49,6 +49,7 @@ public final class ServiceException extends RuntimeException return detailMessage; } + @Override public String getMessage() { return message;