feat[文件上传]:oss阿里云对象存储集成
This commit is contained in:
@@ -26,7 +26,7 @@ knife4j:
|
||||
|
||||
zlt:
|
||||
file-server:
|
||||
type: cos
|
||||
type: oss
|
||||
#fdfs:
|
||||
# web-url: ${zlt.fdfs.web-url}
|
||||
s3:
|
||||
@@ -40,6 +40,11 @@ zlt:
|
||||
endpoint: ${zlt.cos.endpoint}
|
||||
region: ${zlt.cos.region}
|
||||
bucketName: ${zlt.cos.bucketName}
|
||||
oss:
|
||||
secretId: ${zlt.oss.secretId}
|
||||
secretKey: ${zlt.oss.secretKey}
|
||||
endpoint: ${zlt.oss.endpoint}
|
||||
bucketName: ${zlt.oss.bucketName}
|
||||
#多租户配置
|
||||
tenant:
|
||||
enable: true
|
||||
|
||||
@@ -4,7 +4,7 @@ server:
|
||||
spring:
|
||||
application:
|
||||
name: file-center
|
||||
cloud:
|
||||
nacos:
|
||||
discovery:
|
||||
ip: 119.45.169.13
|
||||
# cloud:
|
||||
# nacos:
|
||||
# discovery:
|
||||
# ip: 119.45.169.13
|
||||
|
||||
Reference in New Issue
Block a user