feat[文件上传]:oss阿里云对象存储集成

This commit is contained in:
2025-01-20 09:29:33 +08:00
parent 9960a696b4
commit 4ce91aa3ef
15 changed files with 357 additions and 18 deletions
@@ -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