Laravel 流明存储-FileNotFoundException

Laravel 流明存储-FileNotFoundException,laravel,filesystems,lumen,facade,flysystem,Laravel,Filesystems,Lumen,Facade,Flysystem,我在Lumen中添加了flysystem,这样我就可以使用StorageFacade了 我添加了正确的config文件,然后我正在尝试: $template = Storage::get(storage_path('a.html')); 配置: 'disks' => [ 'local' => [ 'driver' => 'local', 'root' => storage_path(), 'url' => e

我在Lumen中添加了
flysystem
,这样我就可以使用
Storage
Facade了

我添加了正确的
config
文件,然后我正在尝试:

$template = Storage::get(storage_path('a.html'));
配置:

'disks' => [
    'local' => [
        'driver' => 'local',
        'root' => storage_path(),
        'url' => env('APP_URL').'/storage',
    ],
    'public' => [
        'driver' => 'local',
        'root' => storage_path(),
        'url' => env('APP_URL').'/storage',
        'visibility' => 'public',
    ],
我得到:

FileNotFoundException/var/www/storage/a.html

该文件存在于该位置


有什么线索吗?

试试
Storage::get(“a.html”)
你能提供一张显示该位置文件的图像吗?你还能发布配置文件的详细信息吗?文件位置。我添加了有问题的配置