From 5eff9a50b63c5c7987b1f93534996d2d7a37189b Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期一, 27 六月 2022 23:02:20 +0800 Subject: [PATCH] update 优化 nginx 限制外网访问内网 actuator 相关路径 --- ruoyi-common/src/main/java/com/ruoyi/common/exception/user/UserException.java | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/exception/user/UserException.java b/ruoyi-common/src/main/java/com/ruoyi/common/exception/user/UserException.java index f25afc5..99a8880 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/exception/user/UserException.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/exception/user/UserException.java @@ -7,12 +7,10 @@ * * @author ruoyi */ -public class UserException extends BaseException -{ +public class UserException extends BaseException { private static final long serialVersionUID = 1L; - public UserException(String code, Object[] args) - { + public UserException(String code, Object... args) { super("user", code, args, null); } } -- Gitblit v1.9.3