Skip to content

Commit

Permalink
增加默认签名
Browse files Browse the repository at this point in the history
  • Loading branch information
twelife committed Aug 7, 2020
1 parent 4e578bd commit 072d0e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Core/Aliyun.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ public function __construct(array $config)
public function send(array $data)
{
$this->checkParam($data);
if (!isset($data['SignName'])) {
$data['SignName'] = $this->SignName;
}
AlibabaCloud::accessKeyClient($this->AccessKeyId, $this->AccessKeySecret)
->regionId('cn-hangzhou')
->asDefaultClient();
Expand Down

0 comments on commit 072d0e1

Please sign in to comment.