疯狂的狮子li
2021-08-03 da4e0806569af3e676c88cbbe637debf4d1a57c3
ruoyi-oss/src/main/java/com/ruoyi/system/service/impl/SysOssServiceImpl.java
@@ -55,7 +55,7 @@
   @Override
   public SysOss upload(MultipartFile file) {
      String originalfileName = file.getOriginalFilename();
      String suffix = StringUtils.sub(originalfileName, originalfileName.lastIndexOf("."), originalfileName.length());
      String suffix = StringUtils.substring(originalfileName, originalfileName.lastIndexOf("."), originalfileName.length());
      ICloudStorageService storage = OssFactory.instance();
      UploadResult uploadResult;
      try {