Commit e092c9f4 by v_vdywang

wdy

parent 232e81d1
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/zhichan.iml" filepath="$PROJECT_DIR$/.idea/zhichan.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
...@@ -33,7 +33,7 @@ public class Test { ...@@ -33,7 +33,7 @@ public class Test {
public void doUpload(String objectName,String encodePolicy,String signature) throws Exception { public void doUpload(String objectName,String encodePolicy,String signature) throws Exception {
this.objectName="1525276744866147/"+objectName; this.objectName="1525276744866147/"+objectName;
this.localFilePath="/tmp/"+objectName; this.localFilePath="F:\\jxy\\zhichan\\center-channel\\app\\base\\api\\"+objectName;
// 在URL中添加存储空间名称,添加后URL如下:http://yourBucketName.oss-cn-hangzhou.aliyuncs.com // 在URL中添加存储空间名称,添加后URL如下:http://yourBucketName.oss-cn-hangzhou.aliyuncs.com
String urlStr = endpoint.replace("http://", "http://" + bucketName + "."); String urlStr = endpoint.replace("http://", "http://" + bucketName + ".");
// 表单Map。 // 表单Map。
......
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Test set: com.example.demo.DemoApplicationTests Test set: com.example.demo.DemoApplicationTests
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.298 s - in com.example.demo.DemoApplicationTests Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.026 s - in com.example.demo.DemoApplicationTests
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