更新 'src/Oss.php'
This commit is contained in:
parent
6dbfd35573
commit
e129947bbe
|
@ -141,14 +141,14 @@ class Oss
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* getSecretKey
|
* bucket
|
||||||
*
|
*
|
||||||
* @return Oss
|
* @return Oss
|
||||||
* @throws ContainerExceptionInterface
|
* @throws ContainerExceptionInterface
|
||||||
* @throws GuzzleException
|
* @throws GuzzleException
|
||||||
* @throws NotFoundExceptionInterface
|
* @throws NotFoundExceptionInterface
|
||||||
*/
|
*/
|
||||||
private function bucket(): Oss
|
public function bucket(): Oss
|
||||||
{
|
{
|
||||||
$this->getSecretKey();
|
$this->getSecretKey();
|
||||||
$time = time();
|
$time = time();
|
||||||
|
@ -186,7 +186,7 @@ class Oss
|
||||||
*
|
*
|
||||||
* @throws GuzzleException
|
* @throws GuzzleException
|
||||||
*/
|
*/
|
||||||
private function getSecretKey(): Oss
|
public function getSecretKey(): Oss
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!$this->oss) {
|
if (!$this->oss) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user