cos工具类 + 上传下载接口cos切换

This commit is contained in:
liyawei
2022-06-08 18:59:54 +08:00
parent d5497cf5bc
commit 1ff997103a
10 changed files with 501 additions and 12 deletions
@@ -188,7 +188,7 @@ mybatis-plus:
call-setters-on-nulls: true
#jero专用配置
jero :
# 本地:local\Miniominio\阿里云:alioss
# 本地:local\Miniominio\阿里云:alioss\腾讯云 cos
uploadType: local
backUrl: http://localhost:3000
#拆分图片展示地址
@@ -212,6 +212,14 @@ jero :
secretKey: ??
bucketName: jeroos
staticDomain: ??
#腾讯云cos存储配置 测试桶
cos:
secretId: AKIDoTt3xbz82g4C4f05tRjlX2HGEwOZU8Xf
secretKey: uYv3vXsxnNgjW4MN9j36tPfeNp1xe5GB
region: ap-beijing
bucketName: dd-grp-laws-test-1253431691
appId: 1253431691
endPoint: https://dd-grp-laws-test-1253431691.cos.ap-beijing.myqcloud.com
# ElasticSearch 6设置
elasticsearch:
cluster-name: elasticsearch