Commit 4d8b4ec9 by yuquan.zhu Committed by chenzg

测试一下上传

parent 193a7f48
......@@ -135,7 +135,7 @@ public class OSSUtil {
// 关闭OSSClient。
ossClient.shutdown();
// 返回上传成功的文件名
return url.toString();
return url.toString().substring(0,url.toString().lastIndexOf("?"));
}
/**
......
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