mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	fix 修复 minio 适配 https 导致的问题
This commit is contained in:
		@@ -39,7 +39,7 @@ public class MinioOssStrategy extends AbstractOssStrategy {
 | 
			
		||||
            } else {
 | 
			
		||||
                builder.endpoint(properties.getEndpoint());
 | 
			
		||||
            }
 | 
			
		||||
            minioClient = builder.build();
 | 
			
		||||
            minioClient = builder.credentials(properties.getAccessKey(), properties.getSecretKey()).build();
 | 
			
		||||
            createBucket();
 | 
			
		||||
        } catch (Exception e) {
 | 
			
		||||
            throw new OssException("Minio存储配置错误! 请检查系统配置:[" + e.getMessage() + "]");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user