From d4447ca99df2cfe978ca51790dd2891e9df0d492 Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Thu, 25 Jul 2024 16:19:05 +0800
Subject: [PATCH] 修改人工拍照图片保存,新增面状航线保存、修改接口,图斑文件上传格式修改
---
src/main/java/com/dji/sample/component/oss/service/IOssService.java | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/dji/sample/component/oss/service/IOssService.java b/src/main/java/com/dji/sample/component/oss/service/IOssService.java
index 5d8e415..9dfe2ba 100644
--- a/src/main/java/com/dji/sample/component/oss/service/IOssService.java
+++ b/src/main/java/com/dji/sample/component/oss/service/IOssService.java
@@ -16,12 +16,14 @@
/**
* Get temporary credentials.
+ *
* @return
*/
CredentialsDTO getCredentials();
/**
* Get the address of the object based on the bucket name and the object name.
+ *
* @param bucket bucket name
* @param objectKey object name
* @return download link
@@ -30,6 +32,7 @@
/**
* Deletes the object in the storage bucket.
+ *
* @param bucket
* @param objectKey
* @return
@@ -38,13 +41,14 @@
/**
* Get the contents of an object.
+ *
* @param bucket
* @param objectKey
* @return
*/
InputStream getObject(String bucket, String objectKey);
- void putObject(String bucket, String objectKey, InputStream input);
+ String putObject(String bucket, String objectKey, InputStream input);
void createClient();
}
--
Gitblit v1.9.3