疯狂的狮子li
2021-07-18 7cffafcdaa92f904cffe91284d641c781829b035
ruoyi-oss/src/main/java/com/ruoyi/oss/service/impl/MinioCloudStorageServiceImpl.java
@@ -29,10 +29,14 @@
   @Autowired
   public MinioCloudStorageServiceImpl(CloudStorageProperties properties) {
      this.properties = properties.getMinio();
      try {
      minioClient = MinioClient.builder()
         .endpoint(this.properties.getEndpoint())
         .credentials(this.properties.getAccessKey(), this.properties.getSecretKey())
         .build();
      } catch (Exception e) {
         throw new IllegalArgumentException("Minio存储配置错误! 请检查系统配置!");
      }
   }
   @Override