|
@@ -112,7 +112,8 @@ public enum PageSizeEnum {
|
|
|
return e;
|
|
|
}
|
|
|
if (standardWidth - deviation <= height && height <= standardWidth + deviation && standardHeight - deviation <= width && width <= standardHeight + deviation){
|
|
|
- throw ExceptionResultEnum.ERROR.exception("请检查上传的【"+ e.name() + "】纸张字体方向是否反了");
|
|
|
+// throw ExceptionResultEnum.ERROR.exception("请检查上传的【"+ e.name() + "】纸张字体方向是否反了");
|
|
|
+ return e;
|
|
|
}
|
|
|
}
|
|
|
throw ExceptionResultEnum.ERROR.exception("pdf格式不符合标准规范,请提供标准的pdf(可使用wps、office的word转换)");
|