mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	fix 修复 新版上传未设置acl问题
This commit is contained in:
		@@ -178,6 +178,7 @@ public class OssClient {
 | 
				
			|||||||
                            .key(key)
 | 
					                            .key(key)
 | 
				
			||||||
                            .contentMD5(StringUtils.isNotEmpty(md5Digest) ? md5Digest : null)
 | 
					                            .contentMD5(StringUtils.isNotEmpty(md5Digest) ? md5Digest : null)
 | 
				
			||||||
                            .contentType(contentType)
 | 
					                            .contentType(contentType)
 | 
				
			||||||
 | 
					                            .acl(getAccessPolicy().getObjectCannedACL())
 | 
				
			||||||
                            .build())
 | 
					                            .build())
 | 
				
			||||||
                    .addTransferListener(LoggingTransferListener.create())
 | 
					                    .addTransferListener(LoggingTransferListener.create())
 | 
				
			||||||
                    .source(filePath).build());
 | 
					                    .source(filePath).build());
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user