Laravel 文件被存储并且已经创建软链storag,如何访问这个文件


按照:https://laravelacademy.org/post/6071.html 往前走,在 我执行完:
php artisan storage:link
已经生成软链接,上传一个文件,使用默认的存储,保存在:storage/app/public/1.jpg
输出:echo asset('storage/1.jpg'); //
文件无法访问。


点赞 取消点赞 收藏 取消收藏

<< 上一篇: 分页

>> 下一篇: migrate建表的时候 ->default()方法是在哪儿定义?Laravel5.3