Browse Source

fixed:后台-规定上传接口返回url格式

刘学玺 3 months ago
parent
commit
eff972401c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/Providers/FileSystemServiceProvider.php

+ 3 - 3
app/Providers/FileSystemServiceProvider.php

@@ -22,12 +22,12 @@ class FileSystemServiceProvider extends ServiceProvider
 
             $filesystem = new Filesystem($adapter);
 
-            return new class($filesystem, $config) extends FilesystemAdapter {
+            return new class($filesystem, [], $config) extends FilesystemAdapter {
                 protected $config;
 
-                public function __construct(FilesystemOperator $adapter, $config)
+                public function __construct(FilesystemOperator $adapter, array $visibility = [], array $config = [])
                 {
-                    parent::__construct($adapter);
+                    parent::__construct($adapter, $visibility, $config);
                     $this->config = $config;
                 }