Storage::path() 返回文件路径为什么会出现 / 而不是 \ ?
关于文件路径的问题。成功保存 pdf 后,用 $file_path=Storage::path($file) 返回文件保存路径,得到的路径是:G:\laragon\www\sci2pdf\storage\app\pdfs/Economic analysis of a traceability system for a two level perishable food supply chain.pdf 为什么在返回路径中 pdfs 之后就是 /, 而不是 \? 带 / 的路径在 windo 里面是错误的呀。 感谢大家!可能这个问题比较菜。


关于 LearnKu
推荐文章: