diff --git a/pig-common/pig-common-feign/src/main/java/com/pig4cloud/pig/common/feign/sentinel/handle/GlobalBizExceptionHandler.java b/pig-common/pig-common-feign/src/main/java/com/pig4cloud/pig/common/feign/sentinel/handle/GlobalBizExceptionHandler.java index fd0f11fbc..d4ee7d56c 100644 --- a/pig-common/pig-common-feign/src/main/java/com/pig4cloud/pig/common/feign/sentinel/handle/GlobalBizExceptionHandler.java +++ b/pig-common/pig-common-feign/src/main/java/com/pig4cloud/pig/common/feign/sentinel/handle/GlobalBizExceptionHandler.java @@ -131,7 +131,7 @@ public R bindExceptionHandler(BindException exception) { */ @ExceptionHandler({ NoResourceFoundException.class }) @ResponseStatus(HttpStatus.NOT_FOUND) - public R bindExceptionHandler(NoResourceFoundException exception) { + public R notFoundExceptionHandler(NoResourceFoundException exception) { log.debug("请求路径 404 {}", exception.getMessage()); return R.failed(exception.getMessage()); }