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 fd0f11fb..d4ee7d56 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 class GlobalBizExceptionHandler { */ @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()); }