Commit ef0c646c by 王栋源

wdy

parent 3a34c282
...@@ -33,7 +33,7 @@ public class utilupload { ...@@ -33,7 +33,7 @@ public class utilupload {
URL httpurl = new URL(ossurl); URL httpurl = new URL(ossurl);
File file = new File("/tmp/temporaryfile.jpg"); File file = new File("/tmp/temporaryfile.jpg");
FileUtils.copyURLToFile(httpurl, file); FileUtils.copyURLToFile(httpurl, file);
this.objectName=filedir+objectName; this.objectName=filedir+"/"+objectName;
this.endpoint=endpoint; this.endpoint=endpoint;
this.accessKeyId=accessKeyId; this.accessKeyId=accessKeyId;
this.bucketName=bucketName; this.bucketName=bucketName;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment