https://github.com/cn-src/aliyun-oss
阿里云 OSS 对象存储 Java SDK 封装
https://github.com/cn-src/aliyun-oss
aliyun java oss spring-boot
Last synced: about 1 year ago
JSON representation
阿里云 OSS 对象存储 Java SDK 封装
- Host: GitHub
- URL: https://github.com/cn-src/aliyun-oss
- Owner: cn-src
- License: apache-2.0
- Created: 2018-02-05T09:23:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-08T07:21:10.000Z (about 7 years ago)
- Last Synced: 2025-04-09T05:25:06.253Z (about 1 year ago)
- Topics: aliyun, java, oss, spring-boot
- Language: Java
- Homepage:
- Size: 48.8 KB
- Stars: 9
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://opensource.org/licenses/Apache-2.0)

[](https://travis-ci.org/cn-src/aliyun-oss)
[](https://libraries.io/github/cn-src/aliyun-oss)
# aliyun-oss
阿里云 OSS 对象存储 Java SDK 封装
# spring boot 集成
1. 添加依赖
```java
cn.javaer.aliyun
aliyun-spring-boot-starter-oss
1.1.0
```
2. 配置参数(application.properties)
```
aliyun.oss.endpoint=
aliyun.oss.accessKeyId=
aliyun.oss.accessKeySecret=
```
3. 代码使用
```java
@Autowired
private OSSClient ossClient;
```
[官方文档:https://help.aliyun.com/product/31815.html?spm=a2c4g.11186623.6.67.7qMiy1](https://help.aliyun.com/product/31815.html?spm=a2c4g.11186623.6.67.7qMiy1)