From f0f826109cbbe6444d0dd2c1e4313d14148456bd Mon Sep 17 00:00:00 2001 From: ajaxfan <909938737@qq.com> Date: Fri, 16 Apr 2021 16:56:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=9F=E4=BA=A7=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exception/service/BusinessExceptionHandlerAdvicePro.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/exception/service/BusinessExceptionHandlerAdvicePro.java b/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/exception/service/BusinessExceptionHandlerAdvicePro.java index d364d37..381a12d 100644 --- a/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/exception/service/BusinessExceptionHandlerAdvicePro.java +++ b/uboot-common/src/main/java/com/chinaunicom/mall/ebtp/common/exception/service/BusinessExceptionHandlerAdvicePro.java @@ -77,7 +77,7 @@ public class BusinessExceptionHandlerAdvicePro { * @param exception ServiceErrorException异常对象 * @return 响应 */ - @ExceptionHandler({ TransactionSystemException.class, RmTransactionException.class }) + @ExceptionHandler(value = MethodArgumentNotValidException.class) @ResponseStatus(HttpStatus.BAD_REQUEST) public BaseResponse handleInvalidMethodArgException(HttpServletRequest request, MethodArgumentNotValidException exception) {