.env修改后不生效 服务器中修改.env文件后不生效多半是缓存的问题 清缓存就行了 php artisan config:clear php artisan config:cache 工作只为生活,学习才是主流!