| | |
| | | package com.dji.sample.component.oss.service.impl; |
| | | |
| | | import com.dji.sample.common.model.ResponseResult; |
| | | import com.dji.sample.component.oss.model.OssConfiguration; |
| | | import com.dji.sample.component.oss.model.enums.OssTypeEnum; |
| | | import com.dji.sample.component.oss.service.IOssService; |
| | |
| | | return this.ossService.getObject(bucket, objectKey); |
| | | } |
| | | |
| | | public void putObject(String bucket, String objectKey, InputStream stream) { |
| | | this.ossService.putObject(bucket, objectKey, stream); |
| | | public String putObject(String bucket, String objectKey, InputStream stream) { |
| | | return this.ossService.putObject(bucket, objectKey, stream); |
| | | } |
| | | |
| | | void createClient() { |