修改统一异常处理

This commit is contained in:
ajaxfan
2021-03-24 18:54:34 +08:00
parent dbfc63d7c8
commit 310bcecf99

View File

@ -257,7 +257,7 @@ public class BusinessExceptionHandlerAdvice {
Convert.toStr(body));
}
@ExceptionHandler({ TransactionSystemException.class, RmTransactionException.class })
@ExceptionHandler({ TransactionSystemException.class })
@ResponseStatus(HttpStatus.BAD_REQUEST)
public BaseResponse<String> handleTransactionSystemException(HttpServletRequest request,
TransactionSystemException exception) {