Browse Source

宽松点

master
zhangyuan 3 years ago
parent
commit
19a36dc873
  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());
byte[] originBytes = toByteArray(dataInputStream);
fileBytes = compressPicCycle(originBytes, 100L, 0.1);
fileBytes = compressPicCycle(originBytes, 100L, 0.2);
} catch (IOException e) {
logger.error("图片上传异常", e);
throw new RenException("图片上传异常");

Loading…
Cancel
Save