Skip to content

Commit 0574ef7

Browse files
authored
Add locationWithSchema config (#312)
* Add locationWithSchema config * Format code
1 parent e8d8751 commit 0574ef7

File tree

209 files changed

+222
-217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+222
-217
lines changed

sample/ImageSearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'region' => $region,
1111
'schema' => 'https', //协议头部,默认为http
1212
'credentials'=> array(
13-
'secretId' => $secretId ,
13+
'secretId' => $secretId,
1414
'secretKey' => $secretKey)));
1515
try {
1616
// 图片搜索接口 https://cloud.tencent.com/document/product/460/63901

sample/ImageSearchAdd.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'region' => $region,
1111
'schema' => 'https', //协议头部,默认为http
1212
'credentials'=> array(
13-
'secretId' => $secretId ,
13+
'secretId' => $secretId,
1414
'secretKey' => $secretKey)));
1515
try {
1616
// 添加图库图片 https://cloud.tencent.com/document/product/460/63900

sample/ImageSearchDelete.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'region' => $region,
1111
'schema' => 'https', //协议头部,默认为http
1212
'credentials'=> array(
13-
'secretId' => $secretId ,
13+
'secretId' => $secretId,
1414
'secretKey' => $secretKey)));
1515
try {
1616
// 删除图库图片 https://cloud.tencent.com/document/product/460/63902

sample/ImageSearchOpen.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'region' => $region,
1111
'schema' => 'https', //协议头部,默认为http
1212
'credentials'=> array(
13-
'secretId' => $secretId ,
13+
'secretId' => $secretId,
1414
'secretKey' => $secretKey)));
1515
try {
1616
// 开通以图搜图 https://cloud.tencent.com/document/product/460/63899

sample/abortMultipartUpload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'region' => $region,
1111
'schema' => 'https', //协议头部,默认为http
1212
'credentials'=> array(
13-
'secretId' => $secretId ,
13+
'secretId' => $secretId,
1414
'secretKey' => $secretKey)));
1515
try {
1616
$result = $cosClient->abortMultipartUpload(array(

sample/blindWatermark.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'region' => $region,
1111
'schema' => 'https', //协议头部,默认为http
1212
'credentials'=> array(
13-
'secretId' => $secretId ,
13+
'secretId' => $secretId,
1414
'secretKey' => $secretKey)));
1515
try {
1616
$blindWatermarkTemplate = new Qcloud\Cos\ImageParamTemplate\BlindWatermarkTemplate();

sample/cancelInventoryTriggerJob.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'region' => $region,
1111
'schema' => 'https', //协议头部,默认为http
1212
'credentials'=> array(
13-
'secretId' => $secretId ,
13+
'secretId' => $secretId,
1414
'secretKey' => $secretKey)));
1515
try {
1616
// https://cloud.tencent.com/document/product/436/71515 取消存量任务

sample/cancelLiveVideoAuditing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'region' => $region,
1111
'schema' => 'https', // 审核时必须为https
1212
'credentials'=> array(
13-
'secretId' => $secretId ,
13+
'secretId' => $secretId,
1414
'secretKey' => $secretKey)));
1515
try {
1616
$result = $cosClient->cancelLiveVideoAuditing(array(

sample/catchException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'region' => $region,
1111
'schema' => 'https', //协议头部,默认为http
1212
'credentials'=> array(
13-
'secretId' => $secretId ,
13+
'secretId' => $secretId,
1414
'secretKey' => $secretKey)));
1515
try {
1616
$result = $cosClient->getBucketAcl(array(

sample/ciTransformation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'region' => $region,
1111
'schema' => 'https', //协议头部,默认为http
1212
'credentials'=> array(
13-
'secretId' => $secretId ,
13+
'secretId' => $secretId,
1414
'secretKey' => $secretKey)));
1515
try {
1616
$imageMogrTemplate = new Qcloud\Cos\ImageParamTemplate\ImageMogrTemplate();

0 commit comments

Comments
 (0)