diff --git a/sample/CreateWatermarkTemplateDemo.php b/sample/CreateWatermarkTemplateDemo.php index 7fa0454..285109b 100644 --- a/sample/CreateWatermarkTemplateDemo.php +++ b/sample/CreateWatermarkTemplateDemo.php @@ -38,4 +38,4 @@ } catch (\Exception $e) { // 请求失败 echo($e); -} \ No newline at end of file +} diff --git a/sample/GeneratePlayListDemo.php b/sample/GeneratePlayListDemo.php index 38818a0..b4de822 100644 --- a/sample/GeneratePlayListDemo.php +++ b/sample/GeneratePlayListDemo.php @@ -46,4 +46,4 @@ } catch (\Exception $e) { // 请求失败 echo($e); -} \ No newline at end of file +} diff --git a/sample/GetHLSPlayKeyDemo.php b/sample/GetHLSPlayKeyDemo.php index 005fa4c..92f8b10 100644 --- a/sample/GetHLSPlayKeyDemo.php +++ b/sample/GetHLSPlayKeyDemo.php @@ -26,4 +26,4 @@ } catch (\Exception $e) { // 请求失败 echo($e); -} \ No newline at end of file +} diff --git a/sample/GetHLSTokenDemo.php b/sample/GetHLSTokenDemo.php index 0dd18b1..301bdaa 100644 --- a/sample/GetHLSTokenDemo.php +++ b/sample/GetHLSTokenDemo.php @@ -17,7 +17,7 @@ "IssuedTimeStamp" => time(), "ExpireTimeStamp" => time() + 3600 * 6, "UsageLimit" => 3, - "ProtectSchema" => "rsa1024", + "ProtectScheme" => "rsa1024", "PublicKey" => base64_encode($publicKey), "ProtectContentKey" => 1, ); diff --git a/sample/PostWatermarkJobsDemo.php b/sample/PostWatermarkJobsDemo.php index 6c0ae53..8f8cec0 100644 --- a/sample/PostWatermarkJobsDemo.php +++ b/sample/PostWatermarkJobsDemo.php @@ -40,4 +40,4 @@ } catch (\Exception $e) { // 请求失败 echo($e); -} \ No newline at end of file +} diff --git a/sample/ZipFilePreviewDemo.php b/sample/ZipFilePreviewDemo.php index 86275ca..a9546fc 100644 --- a/sample/ZipFilePreviewDemo.php +++ b/sample/ZipFilePreviewDemo.php @@ -28,4 +28,4 @@ } catch (\Exception $e) { // 请求失败 echo($e); -} \ No newline at end of file +} diff --git a/src/Client.php b/src/Client.php index 5910366..1007fe4 100644 --- a/src/Client.php +++ b/src/Client.php @@ -272,11 +272,11 @@ * @method object SearchImage(array $args) 图像检索 * @method object UpdateDataset(array $args) 更新数据集 * @method object UpdateFileMetaIndex(array $args) 更新元数据索引 - * @method object ZipFilePreview(array $args) // 压缩包预览同步请求 - * @method object GetHLSPlayKey(array $args) // 获取hls播放密钥 - * @method object PostWatermarkJobs(array $args) // 视频明水印-提交任务 - * @method object GeneratePlayList(array $args) // 生成播放列表 - * @method object CreateWatermarkTemplate(array $args) // 创建明水印模板 + * @method object ZipFilePreview(array $args) 压缩包预览同步请求 + * @method object GetHLSPlayKey(array $args) 获取hls播放密钥 + * @method object PostWatermarkJobs(array $args) 视频明水印-提交任务 + * @method object GeneratePlayList(array $args) 生成播放列表 + * @method object CreateWatermarkTemplate(array $args) 创建明水印模板 * @see \Qcloud\Cos\Service::getService() */ class Client extends GuzzleClient {