Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cn-src/aliyun-oss
阿里云 OSS 对象存储 Java SDK 封装
https://github.com/cn-src/aliyun-oss
aliyun java oss spring-boot
Last synced: 4 days 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-08T07:21:10.000Z (over 5 years ago)
- Last Synced: 2023-11-06T20:00:49.199Z (about 1 year ago)
- Topics: aliyun, java, oss, spring-boot
- Language: Java
- Homepage:
- Size: 48.8 KB
- Stars: 9
- Watchers: 3
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
![Maven Central](https://img.shields.io/maven-central/v/cn.javaer.aliyun/aliyun-spring-boot-starter-oss.svg)
[![Build Status](https://travis-ci.org/cn-src/aliyun-oss.svg?branch=master)](https://travis-ci.org/cn-src/aliyun-oss)
[![Libraries.io for GitHub](https://img.shields.io/librariesio/github/cn-src/aliyun-oss.svg)](https://libraries.io/github/cn-src/aliyun-oss)# aliyun-oss
阿里云 OSS 对象存储 Java SDK 封装# spring boot 集成
1. 添加依赖
```javacn.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)