From a8bacd0517a86b660cea2f9caf354aba52641f7e Mon Sep 17 00:00:00 2001 From: hongawen <83944980@qq.com> Date: Tue, 14 Mar 2023 22:23:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=AE=A2=E6=88=B7=E7=AB=AF?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 7 ++++++- src/main/java/com/njcn/huawei/obs/util/OBSUtil.java | 2 +- target/maven-archiver/pom.properties | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 0265114..f0e6b3b 100644 --- a/pom.xml +++ b/pom.xml @@ -18,12 +18,17 @@ http://192.168.1.13:8001/nexus/content/repositories/snapshots/ - 8 8 UTF-8 + + + hongawen + 83944980@qq.com + + 灿能针对河北pms项目的华为obs组件提取的starter模块 jar diff --git a/src/main/java/com/njcn/huawei/obs/util/OBSUtil.java b/src/main/java/com/njcn/huawei/obs/util/OBSUtil.java index 757a45c..09928c3 100644 --- a/src/main/java/com/njcn/huawei/obs/util/OBSUtil.java +++ b/src/main/java/com/njcn/huawei/obs/util/OBSUtil.java @@ -154,7 +154,7 @@ public class OBSUtil { * @date 2023/3/1 20:56 * @return InputStream */ - public InputStream fileDownload(String fileName) { + public InputStream downloadStream(String fileName) { ObsClient obsClient = null; try { String bucketName = huaweiObsProperties.getObs().getBucket(); diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties index c1e1dc9..22f7e17 100644 --- a/target/maven-archiver/pom.properties +++ b/target/maven-archiver/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven -#Thu Mar 02 13:52:05 CST 2023 +#Wed Mar 08 15:30:34 CST 2023 version=1.0.0 groupId=com.njcn artifactId=huawei-obs-springboot-starter