File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 11/.gitattributes export-ignore
22/.gitignore export-ignore
33/.travis.yml export-ignore
4+ /phpunit.xml export-ignore
5+ /src /Qcloud /Cos /Tests export-ignore
Original file line number Diff line number Diff line change 11cos-php-sdk-v5 Upgrade Guide
22====================
3+ 2.2.3 to 2.3.0
4+ ---------
5+ - 新增图片审核,视频审核,音频审核,文本审核,文档审核接口
6+ - 新增单链接限速demo
7+ - 暴露getPresigned接口Headers和Params参数接口
8+ - 补充textDetect UT
9+ - 修复stream_for废弃问题
10+ - 修复x-cos头检测逻辑问题
11+ - 修复UT部分bug
312
4132.2.2 to 2.2.3
514- 在putObejct中新增x-cos-tagging头
Original file line number Diff line number Diff line change 55$ secretId = "SECRETID " ; //"云 API 密钥 SecretId";
66$ secretKey = "SECRETKEY " ; //"云 API 密钥 SecretKey";
77$ region = "ap-beijing " ; //设置一个默认的存储桶地域
8+
89$ cosClient = new Qcloud \Cos \Client (
910 array (
1011 'region ' => $ region ,
1516$ local_path = "/data/exampleobject " ;
1617try {
1718 $ signedUrl = $ cosClient ->getPresignedUrl (
18- $ method ='putObject ' ,
19+ $ method ='getObject ' ,
1920 $ args =array (
2021 'Bucket ' =>'examplebucket-1250000000 ' , //格式:BucketName-APPID
2122 'Key ' =>'exampleobject ' ,
You can’t perform that action at this time.
0 commit comments