You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
601 B

<?php
namespace ali\alibabacloud\live;
use AlibabaCloud\Client\AlibabaCloud;
class Base extends \ali\alibabacloud\Base
{
protected $config;
/**
* 构造函数
* @date 2022-03-26
*/
public function __construct(array $data = [])
{
parent::__construct($data);
}
/**
* 创建Client
* @date 2022-04-12
*/
public function buildClient(){
AlibabaCloud::accessKeyClient($this->config['access_key_id'], $this->config['access_key_secret'])
->regionId($this->config['region_id'])
->asDefaultClient();
}
}