Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

License Maven Central Build Status Libraries.io for GitHub

aliyun-oss

阿里云 OSS 对象存储 Java SDK 封装

spring boot 集成

  1. 添加依赖
<dependency>
    <groupId>cn.javaer.aliyun</groupId>
    <artifactId>aliyun-spring-boot-starter-oss</artifactId>
    <version>1.1.0</version>
</dependency>
  1. 配置参数(application.properties)
aliyun.oss.endpoint=
aliyun.oss.accessKeyId=
aliyun.oss.accessKeySecret=
  1. 代码使用
    @Autowired
    private OSSClient ossClient;

官方文档:https://help.aliyun.com/product/31815.html?spm=a2c4g.11186623.6.67.7qMiy1

About

阿里云 OSS Spring Boot 集成 spread retract
Java
Apache-2.0
Cancel

Releases

No release

aliyun-oss

Contributors

All

Activities

load more
can not load any more