提交的内容
This commit is contained in:
4
vendor/qcloud/cos-sdk-v5/sample/cosClient.php
vendored
Executable file → Normal file
4
vendor/qcloud/cos-sdk-v5/sample/cosClient.php
vendored
Executable file → Normal file
@ -9,7 +9,7 @@ $token = "COS_TMPTOKEN"; //如果使用永久密钥不需要填入token,如果
|
||||
$cosClient = new Qcloud\Cos\Client(
|
||||
array(
|
||||
'region' => $region, //园区
|
||||
'schema' => 'https', //协议头部,默认为http
|
||||
'scheme' => 'https', //协议头部,默认为http
|
||||
'timeout' => 10, //超时时间
|
||||
'connect_timeout' => 10, //连接超时时间
|
||||
'ip' => '', //ip
|
||||
@ -27,6 +27,6 @@ $cosClient = new Qcloud\Cos\Client(
|
||||
'anonymous' => true, //匿名模式
|
||||
),
|
||||
'timezone' => 'PRC', //时区
|
||||
'locationWithSchema' => true //Location中是否包含schema
|
||||
'locationWithScheme' => true //Location中是否包含scheme
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user