Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
weimin96
oss-spring-boot-starter
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
configulation
Jump to bottom
aoliao edited this page
Nov 29, 2023
·
3 revisions
所有的的配置说明
配置项
类型
默认值
说明
oss.enable
boolean
false
是否启用 OSS
oss.endpoint
String
端点
oss.bucket-name
String
bucket 名称
oss.access-key
String
访问密钥 ID
oss.secret-key
String
访问密钥
oss.cross
boolean
false
是否允许跨域
oss.type
String
OSS 类型(可选值:obs/minio)
oss.max-connections
int
50
最大连接数 默认50
oss.connection-timeout
int
10000
连接超时 默认10s
oss.http.prefix
String
访问端点前缀
oss.http.enable
boolean
false
是否启用 Web 端点
Wiki pages
Pages
6
Loading
Home
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
configulation
Loading
Getting Started with oss spring starter
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
删除操作接口说明
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
存储操作接口说明
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
查询操作接口说明
Uh oh!
There was an error while loading.
Please reload this page
.
快速开始
快速开始
配置说明
配置说明
方法使用
存储操作
文件上传
文件夹上传
拷贝对象到目标存储桶
接收文件分片
合并分片
查询操作
获取全部Bucket
根据文件前缀查询文件
获取文件信息
下载文件
获取目录结构
测试是否成功连接
判断桶是否存在
获取下一层级目录树
校验文件是否存在
删除操作
删除文件
删除文件夹
Clone this wiki locally
You can’t perform that action at this time.