guoshilong
2023-10-23 dd73bbc7132f7b126b8fc2faabf2827b49622d21
src/main/java/com/dji/sample/component/oss/service/IOssService.java
@@ -2,6 +2,7 @@
import com.dji.sample.media.model.CredentialsDTO;
import java.io.InputStream;
import java.net.URL;
/**
@@ -41,5 +42,9 @@
     * @param objectKey
     * @return
     */
    byte[] getObject(String bucket, String objectKey);
    InputStream getObject(String bucket, String objectKey);
    void putObject(String bucket, String objectKey, InputStream input);
    void createClient();
}