Browse Source

cos直传

lizhen_gitee 11 months ago
parent
commit
8130781708
1 changed files with 6 additions and 6 deletions
  1. 6 6
      application/config.php

+ 6 - 6
application/config.php

@@ -311,17 +311,17 @@ return [
     ],
     //腾讯cos
     'cos'                  => [
-        'appid' => '',
+        'appid' => '1324465692',
         // 链接
-        "url"         => '',
+        "url"         => 'https://anxinliao-1324465692.cos.ap-chongqing.myqcloud.com',
         // 固定密钥
-        'secretId'     => '',
+        'secretId'     => 'AKIDHTUp4C70a3UrGc4PXR7apMwLWTBwcAdJ',
         // 固定密钥
-        'secretKey'      => '',
+        'secretKey'      => 'XptpeLuO1c7eKsJc2PacUOAnFUVHqDNQ',
         // 存储桶
-        'bucket'      => '',
+        'bucket'      => 'anxinliao-1324465692',
         // bucket 所在园区
-        'region'      => '',
+        'region'      => 'ap-chongqing',
         // 密钥有效期
         'durationSeconds'      => 1800,
         // 允许的路径前缀,可以根据自己网站的用户登录态判断允许上传的具体路径,例子: a.jpg 或者 a/* 或者 * (使用通配符*存在重大安全风险, 请谨慎评估使用)