Browse Source

图片调整

training
汤建军 1 year ago
parent
commit
eb03e61f60
  1. 2
      blade-biz-common/src/main/java/org/springblade/common/utils/FileUtil.java

2
blade-biz-common/src/main/java/org/springblade/common/utils/FileUtil.java

@ -169,7 +169,7 @@ public class FileUtil extends TimerTask {
} }
//jdk 1.7 新特性自动关闭 //jdk 1.7 新特性自动关闭
InputStream in = con.getInputStream(); InputStream in = con.getInputStream();
OutputStream out = new FileOutputStream(sf.getPath() + "\\" + str); OutputStream out = new FileOutputStream(sf.getPath() + "/" + str);
//创建缓冲区 //创建缓冲区
byte[] buff = new byte[1024]; byte[] buff = new byte[1024];
int n; int n;

Loading…
Cancel
Save