修复华为云存储报错

This commit is contained in:
2025-05-11 10:02:08 +08:00
parent 4ff29bed97
commit 7934afeb04
4 changed files with 93 additions and 93 deletions

View File

@@ -6,7 +6,7 @@ return [
'title' => 'Access Key',
'type' => 'string',
'content' => [],
'value' => '',
'value' => 'HPUA3H63YULC0YUCFE5J',
'rule' => 'required',
'msg' => '',
'tip' => '请前往华为云控制台->我的凭证->访问密钥中生成',
@@ -18,7 +18,7 @@ return [
'title' => 'Secret Key',
'type' => 'string',
'content' => [],
'value' => '',
'value' => 'B2Obu8P3Er23EwzcoH8pPhbWBk0GOxpFrlwwRgSh',
'rule' => 'required',
'msg' => '',
'tip' => '请前往华为云控制台->我的凭证->访问密钥中生成',
@@ -30,7 +30,7 @@ return [
'title' => '存储桶名称',
'type' => 'string',
'content' => [],
'value' => 'yourbucket',
'value' => 'zhongyi542',
'rule' => 'required',
'msg' => '',
'tip' => '存储桶名称',
@@ -54,7 +54,7 @@ return [
'title' => '上传接口地址',
'type' => 'string',
'content' => [],
'value' => 'https://yourbucket.obs.cn-south-1.myhuaweicloud.com',
'value' => 'https://zhongyi542.obs.cn-south-1.myhuaweicloud.com',
'rule' => 'required;uploadurl',
'msg' => '',
'tip' => '请使用存储桶->基本信息->访问域名的值并在前面加上http://或https://',
@@ -66,7 +66,7 @@ return [
'title' => 'CDN地址',
'type' => 'string',
'content' => [],
'value' => 'https://yourbucket.obs.cn-south-1.myhuaweicloud.com',
'value' => 'https://zhongyi542.obs.cn-south-1.myhuaweicloud.com',
'rule' => 'required;cdnurl',
'msg' => '',
'tip' => '如果你的云存储有绑定自定义域名,请输入自定义域名',
@@ -81,7 +81,7 @@ return [
'client' => '客户端直传(速度快,无备份)',
'server' => '服务器中转(占用服务器带宽,有备份)',
],
'value' => 'server',
'value' => 'client',
'rule' => '',
'msg' => '',
'tip' => '',
@@ -96,7 +96,7 @@ return [
1 => '备份(附件管理将产生2条记录)',
0 => '不备份',
],
'value' => '1',
'value' => '0',
'rule' => '',
'msg' => '',
'tip' => '服务器中转模式下是否备份文件',
@@ -156,7 +156,7 @@ return [
'title' => '多文件上传',
'type' => 'bool',
'content' => [],
'value' => '0',
'value' => '1',
'rule' => 'required',
'msg' => '',
'tip' => '',