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);