diff --git a/src/Oss.php b/src/Oss.php index ec54aea..7eda139 100644 --- a/src/Oss.php +++ b/src/Oss.php @@ -141,14 +141,14 @@ class Oss } /** - * getSecretKey + * bucket * * @return Oss * @throws ContainerExceptionInterface * @throws GuzzleException * @throws NotFoundExceptionInterface */ - private function bucket(): Oss + public function bucket(): Oss { $this->getSecretKey(); $time = time(); @@ -186,7 +186,7 @@ class Oss * * @throws GuzzleException */ - private function getSecretKey(): Oss + public function getSecretKey(): Oss { if (!$this->oss) {