wanghongbo

Merge remote-tracking branch 'origin/master'

... ... @@ -82,6 +82,16 @@ public class GlobalExceptionHandler {
}
@ExceptionHandler(value = BusinessException.class)
@ResponseStatus(HttpStatus.BAD_REQUEST)
public ResultBean handleBusinessException(BusinessException e) {
return responseException(e.getErrorCode() + REQUEST_PARAMS_IS_NOT_EMPTY, e);
}
@ExceptionHandler(value = MissingServletRequestParameterException.class)
@ResponseStatus(HttpStatus.BAD_REQUEST)
... ...