laravel 获取目录下的所有目录Storage::directories
$directories=Storage::directories(); //获取app/public目录下的文件夹
$directories=Storage::directories('msg');//获取app/public/msg目录下的文件夹
赞赏码
![](https://files.cnblogs.com/files/lxwphp/zhifubao2.bmp)
![](https://files.cnblogs.com/files/lxwphp/weixin.bmp)
非学,无以致疑;非问,无以广识
$directories=Storage::directories(); //获取app/public目录下的文件夹
$directories=Storage::directories('msg');//获取app/public/msg目录下的文件夹
赞赏码
非学,无以致疑;非问,无以广识