为adaptor新增signUrl方法
doghap opened this issue · comments
Doghap commented
为adaptor新增signUrl方法, 以便生成带签名的地址。我目前的做法是继承你的adaptor, 新增
public function signUrl($path, $timeout = 60, $method = OssClient::OSS_HTTP_GET, $options = NULL) {
return $this->client->signUrl($this->bucket, $path, $timeout, $method, $options);
}
方法, 然后重写provider, 用自己的adaptor。
Doghap commented
@xiaoxin01 you can find my code here : https://github.com/doghap/aliyun-oss-extention