From adec7258a7f348eb9ab26815de9f79c2ff82c262 Mon Sep 17 00:00:00 2001 From: cheney <1251790704@qq.com> Date: Wed, 29 Mar 2023 15:28:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iasf/common/exception/handler/RestExceptionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/huoran/iasf/common/exception/handler/RestExceptionHandler.java b/src/main/java/com/huoran/iasf/common/exception/handler/RestExceptionHandler.java index aec72d8..d7e437b 100644 --- a/src/main/java/com/huoran/iasf/common/exception/handler/RestExceptionHandler.java +++ b/src/main/java/com/huoran/iasf/common/exception/handler/RestExceptionHandler.java @@ -39,7 +39,7 @@ public class RestExceptionHandler { * 系统繁忙,请稍候再试" */ @ExceptionHandler(Exception.class) - @ResponseStatus(HttpStatus.NOT_FOUND) + @ResponseStatus(HttpStatus.UNAUTHORIZED) public R handleException(Exception e) { log.error("Exception,exception:{}", e, e); return R.getResult(BaseResponseCode.SYSTEM_BUSY);