From 67140f996b9fc730d9e8d89c3bf9d1714a9059e1 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 20 四月 2022 10:41:27 +0800 Subject: [PATCH] fix 修复 BeanCopyUtils 工具导包错误 --- ruoyi-oss/src/main/java/com/ruoyi/oss/service/impl/MinioOssStrategy.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ruoyi-oss/src/main/java/com/ruoyi/oss/service/impl/MinioOssStrategy.java b/ruoyi-oss/src/main/java/com/ruoyi/oss/service/impl/MinioOssStrategy.java index 93f88fb..f5be957 100644 --- a/ruoyi-oss/src/main/java/com/ruoyi/oss/service/impl/MinioOssStrategy.java +++ b/ruoyi-oss/src/main/java/com/ruoyi/oss/service/impl/MinioOssStrategy.java @@ -79,6 +79,8 @@ @Override public UploadResult upload(InputStream inputStream, String path, String contentType) { try { + // 瑙e喅 inputStream.available() 鍐� socket 涓嬩紶杈撳欢杩熼棶棰� 瀵艰嚧鑾峰彇鏁板�间笉绮剧‘ + Thread.sleep(1000); minioClient.putObject(PutObjectArgs.builder() .bucket(properties.getBucketName()) .object(path) -- Gitblit v1.9.3