From 984098abcea78bd603520c12eb5f1ce8c92d5b81 Mon Sep 17 00:00:00 2001 From: phanes <5411232+phanes@user.noreply.gitee.com> Date: 星期二, 16 十一月 2021 20:47:26 +0800 Subject: [PATCH] fix: 修复返回参数的数据类型错误的问题 --- ruoyi-oss/src/main/java/com/ruoyi/oss/service/impl/MinioCloudStorageStrategy.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-oss/src/main/java/com/ruoyi/oss/service/impl/MinioCloudStorageStrategy.java b/ruoyi-oss/src/main/java/com/ruoyi/oss/service/impl/MinioCloudStorageStrategy.java index b25108d..3bbf187 100644 --- a/ruoyi-oss/src/main/java/com/ruoyi/oss/service/impl/MinioCloudStorageStrategy.java +++ b/ruoyi-oss/src/main/java/com/ruoyi/oss/service/impl/MinioCloudStorageStrategy.java @@ -95,7 +95,7 @@ @Override public UploadResult uploadSuffix(byte[] data, String suffix, String contentType) { - return upload(data, getPath("", suffix), contentType); + return upload(data, getPath(properties.getPrefix(), suffix), contentType); } @Override -- Gitblit v1.9.3