疯狂的狮子li
2021-07-23 dd9340090b9d960e486201e92d6a7a991d7cdec6
ruoyi-oss/src/main/java/com/ruoyi/system/service/impl/SysOssServiceImpl.java
@@ -59,7 +59,7 @@
      ICloudStorageService storage = OssFactory.instance();
      UploadResult uploadResult;
      try {
         uploadResult = storage.uploadSuffix(file.getBytes(), suffix);
         uploadResult = storage.uploadSuffix(file.getBytes(), suffix, file.getContentType());
      } catch (IOException e) {
         throw new CustomException("文件读取异常!!!", e);
      }