切换OSS为阿里云OSS,文件上传成功,文件访问还有问题
This commit is contained in:
@@ -90,13 +90,4 @@ xl:
|
||||
authCode:
|
||||
# 登录验证码是否开启,开发环境配置false方便测试
|
||||
enable: false
|
||||
# 腾讯云cos配置
|
||||
cos:
|
||||
baseUrl: https://admin-125966.cos.ap-guangzhou.myqcloud.com
|
||||
secretId: AKIDdHsLgtxoSs3sWw73lz
|
||||
secretKey: zZxBD0b4QcZGmdFcotm
|
||||
regionName: ap-guangzhou
|
||||
bucketName: admin-125966
|
||||
folderPrefix: /upload
|
||||
|
||||
|
||||
|
||||
@@ -85,12 +85,4 @@ xl:
|
||||
login:
|
||||
authCode:
|
||||
# 登录验证码是否开启,开发环境配置false方便测试
|
||||
enable: false
|
||||
# 腾讯云cos配置
|
||||
cos:
|
||||
baseUrl: https://admin-125966.cos.ap-guangzhou.myqcloud.com
|
||||
secretId: AKIDdHsLgtxoSs3sWw73lz
|
||||
secretKey: zZxBD0b4QcZGmdFcotm
|
||||
regionName: ap-guangzhou
|
||||
bucketName: admin-125966
|
||||
folderPrefix: /upload
|
||||
enable: false
|
||||
@@ -90,13 +90,5 @@ xl:
|
||||
authCode:
|
||||
# 登录验证码是否开启,开发环境配置false方便测试
|
||||
enable: false
|
||||
# 腾讯云cos配置
|
||||
cos:
|
||||
baseUrl: https://admin-125966.cos.ap-guangzhou.myqcloud.com
|
||||
secretId: AKIDdHsLgtxoSs3sWw73lz
|
||||
secretKey: zZxBD0b4QcZGmdFcotm
|
||||
regionName: ap-guangzhou
|
||||
bucketName: admin-125966
|
||||
folderPrefix: /upload
|
||||
|
||||
|
||||
|
||||
4
play-admin/src/main/resources/oss.properties
Normal file
4
play-admin/src/main/resources/oss.properties
Normal file
@@ -0,0 +1,4 @@
|
||||
aliyun.endpoint=
|
||||
aliyun.accessKeyId=
|
||||
aliyun.accessKeySecret=
|
||||
aliyun.bucketName=
|
||||
Reference in New Issue
Block a user