🔧 文件上传配置示例

This commit is contained in:
b2baccline
2020-01-09 17:14:06 +08:00
parent a9490d9b63
commit d02d54f7e1
3 changed files with 26 additions and 1 deletions

View File

@@ -6,4 +6,12 @@ spring:
redis:
host: ballcat-redis
password: ''
port: 6379
port: 6379
file:
storage:
type: aliyun
endpoint: oss-cn-shanghai.aliyuncs.com
access-key: your key here
access-secret: your secret here
bucket-name: your bucket here

View File

@@ -8,6 +8,15 @@ spring:
password: ''
port: 6379
file:
storage:
type: aliyun
endpoint: oss-cn-shanghai.aliyuncs.com
access-key: your key here
access-secret: your secret here
bucket-name: your bucket here
# 生产环境关闭文档
swagger:
enabled: false

View File

@@ -7,3 +7,11 @@ spring:
host: ballcat-redis
password: ''
port: 6379
file:
storage:
type: aliyun
endpoint: oss-cn-shanghai.aliyuncs.com
access-key: your key here
access-secret: your secret here
bucket-name: your bucket here