Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

带空字符串参数的请求会出现签名错误 #224

Closed
ghostoy opened this issue Aug 3, 2020 · 2 comments
Closed

带空字符串参数的请求会出现签名错误 #224

ghostoy opened this issue Aug 3, 2020 · 2 comments

Comments

@ghostoy
Copy link

ghostoy commented Aug 3, 2020

  • PHP 版本:7.1-7.4
  • 平台:Linux
  • 产品名称:Vod视频直播
  • 产品版本:1.4.25+
  • API:任何API
$query = [
  'Title' => 'Title',
  'Description' => '', // 只要是空的就会报签名错误
  'FileName' => 'test.mp4',
];
$request = Vod::v20170321()->createUploadVideo([
  'query' => $query,
])->endpoint($endpoint)
  ->request();

这个问题从1.5.25开始出现

@ghost
Copy link

ghost commented Aug 3, 2020

  • PHP 版本:7.1-7.4
  • 平台:Linux
  • 产品名称:Vod视频直播
  • 产品版本:1.4.25+
  • API:任何API
$query = [
  'Title' => 'Title',
  'Description' => '', // 只要是空的就会报签名错误
  'FileName' => 'test.mp4',
];
$request = Vod::v20170321()->createUploadVideo([
  'query' => $query,
])->endpoint($endpoint)
  ->request();

这个问题从1.5.25开始出现

已收到,请稍后。

@ghostoy
Copy link
Author

ghostoy commented Aug 3, 2020

升级到1.4.29后问题修复

@ghostoy ghostoy closed this as completed Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant