|
@@ -52,8 +52,6 @@ public class OSSService {
|
|
|
String date = new DateTime().toString("yyyyMMddHHmmss");
|
|
|
String fileUrl = dir+"/" + UUID.randomUUID().toString().replace("-", "") + date + "." + extName;
|
|
|
ossClient.putObject(bucket, fileUrl , inputStream);
|
|
|
- inputStream.reset();
|
|
|
-
|
|
|
return "https://cxzx.smcic.net/" + fileUrl;
|
|
|
}
|
|
|
|