将被下载的文件,上传阿里云OSS的时候进行压缩,节省空间和流量

This commit is contained in:
wangkang
2017-12-19 18:06:10 +08:00
parent 2895b5d7a7
commit 46ea4b8a2c
@@ -6,6 +6,8 @@
*/
package org.itkk.udf.file.aliyun.oss.api.download;
import java.io.File;
/**
* 描述 : DownConstant
*
@@ -76,7 +78,7 @@ public class DownConstant {
* @return String
*/
public static String tempdir() {
return System.getProperty("java.io.tmpdir");
return System.getProperty("java.io.tmpdir") + File.separator;
}
}