摘要: laravel 使用 php artisan config:cache 后 系统就会读取所有的配置文件集中到一起写入缓存,那么如果代码中 使用 env() 辅助函数获取 .env 里面的配置项就不起作用了!! 引用文档原话:If you execute the config:cache comman 阅读全文
posted @ 2020-03-04 22:19 songlen 阅读(1265) 评论(0) 推荐(0) 编辑