diff --git a/src/OssStorageServiceProvider.php b/src/OssStorageServiceProvider.php index 301b684..17ce0a3 100644 --- a/src/OssStorageServiceProvider.php +++ b/src/OssStorageServiceProvider.php @@ -13,6 +13,7 @@ use Iidestiny\Flysystem\Oss\OssAdapter; use Iidestiny\Flysystem\Oss\Plugins\FileUrl; +use Iidestiny\Flysystem\Oss\Plugins\SignUrl; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Facades\Storage; use League\Flysystem\Filesystem; @@ -40,6 +41,7 @@ public function boot() $filesystem = new Filesystem($adapter); $filesystem->addPlugin(new FileUrl()); + $filesystem->addPlugin(new SignUrl()); return $filesystem; });