更新异常处理方式

This commit is contained in:
wangkang
2017-07-29 10:18:37 +08:00
parent ec02ab0ff8
commit 93e1a7b7e5
@@ -72,7 +72,7 @@ public class ExceptionHandle extends ResponseEntityExceptionHandler {
throw new SystemRuntimeException(e);
}
}
return super.handleExceptionInternal(ex, new RestResponse<>(status, errorResult), headers, localHttpStatus, request);
return super.handleExceptionInternal(ex, new RestResponse<>(localHttpStatus, errorResult), headers, localHttpStatus, request);
}
/**