Browse Source

宽松点

master
zhangyuan 3 years ago
parent
commit
a4e66109ed
  1. 2
      epmet-user/epmet-user-server/src/main/java/com/epmet/util/dh/DhDeviceUtil.java

2
epmet-user/epmet-user-server/src/main/java/com/epmet/util/dh/DhDeviceUtil.java

@ -816,7 +816,7 @@ public class DhDeviceUtil {
DataInputStream dataInputStream = new DataInputStream(url.openStream()); DataInputStream dataInputStream = new DataInputStream(url.openStream());
byte[] originBytes = toByteArray(dataInputStream); byte[] originBytes = toByteArray(dataInputStream);
fileBytes = compressPicCycle(originBytes, 100L, 0.2); fileBytes = compressPicCycle(originBytes, 100L, 0.3);
} catch (IOException e) { } catch (IOException e) {
logger.error("图片上传异常", e); logger.error("图片上传异常", e);
throw new RenException("图片上传异常"); throw new RenException("图片上传异常");

Loading…
Cancel
Save