Эх сурвалжийг харах

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

刘学玺 3 сар өмнө
parent
commit
eff972401c

+ 3 - 3
app/Providers/FileSystemServiceProvider.php

@@ -22,12 +22,12 @@ class FileSystemServiceProvider extends ServiceProvider
 
 
             $filesystem = new Filesystem($adapter);
             $filesystem = new Filesystem($adapter);
 
 
-            return new class($filesystem, $config) extends FilesystemAdapter {
+            return new class($filesystem, [], $config) extends FilesystemAdapter {
                 protected $config;
                 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;
                     $this->config = $config;
                 }
                 }