疯狂的狮子Li
2021-08-03 2b1c3335f680526e9f7e120f6b0163e04405b933
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 {