mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	remove 删除无用代码
This commit is contained in:
		@@ -84,20 +84,6 @@ public class OssClient {
 | 
				
			|||||||
            // MinIO 使用 HTTPS 限制使用域名访问,站点填域名。需要启用路径样式访问
 | 
					            // MinIO 使用 HTTPS 限制使用域名访问,站点填域名。需要启用路径样式访问
 | 
				
			||||||
            boolean isStyle = !StringUtils.containsAny(properties.getEndpoint(), OssConstant.CLOUD_SERVICE);
 | 
					            boolean isStyle = !StringUtils.containsAny(properties.getEndpoint(), OssConstant.CLOUD_SERVICE);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//            // 创建AWS基于 CRT 的 S3 客户端
 | 
					 | 
				
			||||||
//            this.client = S3AsyncClient.crtBuilder()
 | 
					 | 
				
			||||||
//                .credentialsProvider(credentialsProvider)
 | 
					 | 
				
			||||||
//                .endpointOverride(URI.create(getEndpoint()))
 | 
					 | 
				
			||||||
//                .region(of())
 | 
					 | 
				
			||||||
//                .targetThroughputInGbps(20.0)
 | 
					 | 
				
			||||||
//                .minimumPartSizeInBytes(10 * 1025 * 1024L)
 | 
					 | 
				
			||||||
//                .checksumValidationEnabled(false)
 | 
					 | 
				
			||||||
//                .forcePathStyle(isStyle)
 | 
					 | 
				
			||||||
//                .httpConfiguration(S3CrtHttpConfiguration.builder()
 | 
					 | 
				
			||||||
//                    .connectionTimeout(Duration.ofSeconds(60)) // 设置连接超时
 | 
					 | 
				
			||||||
//                    .build())
 | 
					 | 
				
			||||||
//                .build();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            // 创建AWS基于 Netty 的 S3 客户端
 | 
					            // 创建AWS基于 Netty 的 S3 客户端
 | 
				
			||||||
            this.client = S3AsyncClient.builder()
 | 
					            this.client = S3AsyncClient.builder()
 | 
				
			||||||
                .credentialsProvider(credentialsProvider)
 | 
					                .credentialsProvider(credentialsProvider)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user