获取文件信息原来tp5有$file->getInfo();现在用tp6getinfo就没了,有看到这篇文章https://www.luowebs.com/Skill_desc/35/730.html,这样用就可以了$file->getOriginalName();