File tree Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 5151 * @method object PutObject(array $args) 上传对象
5252 * @method object AppendObject(array $args) 追加对象
5353 * @method object PutObjectAcl(array $args) 设置 COS 对象的访问权限信息(Access Control List, ACL)
54- * @method object PutBucketAcl(array $args) 设置存储桶(Bucket)的访问权限( Access Control List, ACL)
54+ * @method object PutBucketAcl(array $args) 设置存储桶(Bucket)的访问权限 ( Access Control List, ACL)
5555 * @method object PutBucketCors(array $args) 设置存储桶(Bucket)的跨域配置信息
5656 * @method object PutBucketDomain(array $args) 设置存储桶(Bucket)的Domain信息
5757 * @method object PutBucketLifecycle(array $args) 设置存储桶(Bucket)生命周期配置
@@ -239,7 +239,7 @@ class Client extends GuzzleClient {
239239 const VERSION = '2.6.6 ' ;
240240
241241 public $ httpClient ;
242-
242+
243243 private $ api ;
244244 private $ desc ;
245245 private $ action ;
Original file line number Diff line number Diff line change @@ -1562,7 +1562,7 @@ public static function getService() {
15621562 ),
15631563 )
15641564 ),
1565- // 设置存储桶(Bucket)的访问权限( Access Control List, ACL)
1565+ // 设置存储桶(Bucket)的访问权限 ( Access Control List, ACL)
15661566 'PutBucketAcl ' => array (
15671567 'httpMethod ' => 'PUT ' ,
15681568 'uri ' => '/{Bucket}?acl ' ,
@@ -5621,11 +5621,21 @@ public static function getService() {
56215621 'items ' => array (
56225622 'type ' => 'object ' ,
56235623 'properties ' => array (
5624- 'Name ' => array (
5625- 'type ' => 'string ' ,
5626- ),
5627- 'CreationDate ' => array (
5628- 'type ' => 'string ' ,
5624+ 'Bucket ' => array (
5625+ 'type ' => 'array ' ,
5626+ 'items ' => array (
5627+ 'type ' => 'object ' ,
5628+ 'items ' => array (
5629+ 'properties ' => array (
5630+ 'Name ' => array (
5631+ 'type ' => 'string ' ,
5632+ ),
5633+ 'CreationDate ' => array (
5634+ 'type ' => 'string ' ,
5635+ ),
5636+ ),
5637+ ),
5638+ )
56295639 ),
56305640 ),
56315641 ),
You can’t perform that action at this time.
0 commit comments