疯狂的狮子li
2021-07-23 bb6792423300edbc317fef63e0595563c9666b72
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);
      }