求助 env () 函数获取不到值了
线上生产环境运行
artisan config:cache
artisan route:cache
artisan route:cache
之后在Controller里用env获取到的都是null了
推荐文章: